Class Json.RawValue

  • All Implemented Interfaces:
    Serializable, IClusterable
    Enclosing class:
    Json

    public static final class Json.RawValue
    extends Object
    implements IClusterable
    An object that can be used to render raw String value, i.e. a String that will not be wrapped in quotes. For example serializing a key 'someKey' with value new RawValue("Value") will produce the following JSON: {"someKey": Value}. The user must make sure that the value is a real JavaScript object in his application.
    See Also:
    Serialized Form
    • Constructor Detail

      • RawValue

        public RawValue​(String value)
    • Method Detail

      • value

        public String value()