接口 JSONConverter

    • 方法详细资料

      • writeValue

        void writeValue​(Object obj,
                        JSONWriter builder,
                        boolean writeClass)
                 throws IOException
        已过时。
        write object.
        参数:
        obj - obj.
        builder - builder.
        抛出:
        IOException
      • readValue

        Object readValue​(Class<?> type,
                         Object jv)
                  throws IOException
        已过时。
        convert json value to target class.
        参数:
        type - target type.
        jv - json value.
        返回:
        target object.
        抛出:
        IOException