de.agilecoders.wicket.jquery.util
Class Json.RawValue
java.lang.Object
de.agilecoders.wicket.jquery.util.Json.RawValue
- All Implemented Interfaces:
- Serializable, org.apache.wicket.util.io.IClusterable
- Enclosing class:
- Json
public static final class Json.RawValue
- extends Object
- implements org.apache.wicket.util.io.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Json.RawValue
public Json.RawValue(String value)
value
public String value()
Copyright © 2017. All Rights Reserved.