de.agilecoders.wicket.jquery.util
Class Json.RawValue

java.lang.Object
  extended by 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

Constructor Summary
Json.RawValue(String value)
           
 
Method Summary
 String value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Json.RawValue

public Json.RawValue(String value)
Method Detail

value

public String value()


Copyright © 2017. All Rights Reserved.