Class JSONElement

java.lang.Object
me.topchetoeu.j2s.compilation.json.JSONElement

public class JSONElement extends Object
  • Field Details

  • Method Details

    • map

      public static JSONElement map(JSONMap val)
    • list

      public static JSONElement list(JSONList val)
    • string

      public static JSONElement string(String val)
    • number

      public static JSONElement number(double val)
    • bool

      public static JSONElement bool(boolean val)
    • of

      public static JSONElement of(Object val)
    • isMap

      public boolean isMap()
    • isList

      public boolean isList()
    • isString

      public boolean isString()
    • isNumber

      public boolean isNumber()
    • isBoolean

      public boolean isBoolean()
    • isNull

      public boolean isNull()
    • map

      public JSONMap map()
    • list

      public JSONList list()
    • string

      public String string()
    • number

      public double number()
    • bool

      public boolean bool()
    • toString

      public String toString()
      Overrides:
      toString in class Object