Class JSONConverter

  • All Implemented Interfaces:
    org.simpleframework.xml.convert.Converter<org.json.JSONObject>

    public class JSONConverter
    extends Object
    implements org.simpleframework.xml.convert.Converter<org.json.JSONObject>
    • Constructor Detail

      • JSONConverter

        public JSONConverter()
    • Method Detail

      • read

        public org.json.JSONObject read​(org.simpleframework.xml.stream.InputNode jsonData)
                                 throws Exception
        Specified by:
        read in interface org.simpleframework.xml.convert.Converter<org.json.JSONObject>
        Throws:
        Exception
      • write

        public void write​(org.simpleframework.xml.stream.OutputNode node,
                          org.json.JSONObject jsonData)
                   throws Exception
        Specified by:
        write in interface org.simpleframework.xml.convert.Converter<org.json.JSONObject>
        Throws:
        Exception