mjson
Class Json.DefaultFactory

java.lang.Object
  extended by mjson.Json.DefaultFactory
All Implemented Interfaces:
Json.Factory
Enclosing class:
Json

public static class Json.DefaultFactory
extends Object
implements Json.Factory


Constructor Summary
Json.DefaultFactory()
           
 
Method Summary
 Json array()
           
 Json bool(boolean x)
           
 Json make(Object anything)
           
 Json nil()
           
 Json number(Number x)
           
 Json object()
           
 Json string(String x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Json.DefaultFactory

public Json.DefaultFactory()
Method Detail

nil

public Json nil()
Specified by:
nil in interface Json.Factory

bool

public Json bool(boolean x)
Specified by:
bool in interface Json.Factory

string

public Json string(String x)
Specified by:
string in interface Json.Factory

number

public Json number(Number x)
Specified by:
number in interface Json.Factory

array

public Json array()
Specified by:
array in interface Json.Factory

object

public Json object()
Specified by:
object in interface Json.Factory

make

public Json make(Object anything)
Specified by:
make in interface Json.Factory


Copyright © 2012. All Rights Reserved.