public static String toJSONString ( final Props props , final boolean localOnly ) { final Map < String , String > map = toStringMap ( props , localOnly ) ; return JSONUtils . toJSON ( map ) ; }
Convert props to json string