xv.json
Class JSONOptions

java.lang.Object
  extended by xv.json.JSONOptions

public class JSONOptions
extends Object

Not Implemented Yet. A set of options for parsing/writing JSON.

Option Parsing Writing
allowComments Yes No
allowOctalNumbers Yes No
allowHexNumbers Yes No
allowUnquotedLabels Yes Yes

Author:
xv

Field Summary
static JSONOptions LOOSE
           
static JSONOptions STRICT
           
 
Constructor Summary
JSONOptions(boolean allowComments, boolean allowOctalNumbers, boolean allowHexNumbers, boolean allowUnquotedLabels)
           
 
Method Summary
 boolean isAllowComments()
           
 boolean isAllowHexNumbers()
           
 boolean isAllowOctalNumbers()
           
 boolean isAllowUnquotedLabels()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRICT

public static final JSONOptions STRICT

LOOSE

public static final JSONOptions LOOSE
Constructor Detail

JSONOptions

public JSONOptions(boolean allowComments,
                   boolean allowOctalNumbers,
                   boolean allowHexNumbers,
                   boolean allowUnquotedLabels)
Method Detail

isAllowComments

public boolean isAllowComments()

isAllowOctalNumbers

public boolean isAllowOctalNumbers()

isAllowHexNumbers

public boolean isAllowHexNumbers()

isAllowUnquotedLabels

public boolean isAllowUnquotedLabels()


Copyright © 2008-2011. All Rights Reserved.