public static Object toJSON(Object javaObject) {
        return toJSON(javaObject, SerializeConfig.globalInstance);
    }
This method serializes the specified object into its equivalent representation as a tree of
{@link JSONObject}s.
src/main/java/com/alibaba/fastjson/JSON.java