elemental.json.impl.

Class JreJsonValue

    • Constructor Detail

      • JreJsonValue

        public JreJsonValue()
    • Method Detail

      • getObject

        public abstract Object getObject()
      • traverse

        public abstract void traverse(elemental.json.impl.JsonVisitor visitor,
                                      elemental.json.impl.JsonContext ctx)
      • toNative

        public Object toNative()

        Description copied from interface: JsonValue

        If used in a GWT context (dev or prod mode), converts the object to a native JavaScriptObject suitable for passing to JSNI methods. Otherwise, returns the current object in other contexts, such as server-side use.

        Specified by:

        toNative in interface JsonValue