java.lang.Object
de.agilecoders.wicket.jquery.util.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:
  • Constructor Details

    • RawValue

      public RawValue(String value)
  • Method Details

    • value

      public String value()