Class JSONConverter

java.lang.Object
de.xima.fc.converter.simple.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 Details

    • JSONConverter

      public JSONConverter()
  • Method Details

    • 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