Is there any online or desktop based tool that can convert shapefile or feature class to json and not Geojson.Is there any tool in arcgis desktop to convert shapefile or featureclass into json.
ArcGIS's JSON is specific to ArcGIS server. Still you have a few options:
If you can get access to ArcGIS server, publish a map service with your data as a feature service. You can then query the REST end point, and get it is JSON format.
ArcGIS Online has a 30 day trial. You can do something similar there. (I am guessing here. I personally have not used ArcGIS online so far.)
Well Open Source tools like Postgis, Postgresql and Mapserver with gdal can be used todo those kind of convertions but they are out of ArcGis.
If you known about the argis programming language, it is called AVL I guess( I not an arcgis user ) you could write a procedure to do that. But going out of GeoJSON would be strange since a JSON without Geo could not be rendered, that is why it is called GeoJSON. I guess you want a simple feature attribute translation.