Package jsonvalues

Class JsPrimitive

    • Constructor Detail

      • JsPrimitive

        public JsPrimitive()
    • Method Detail

      • isPrimitive

        public boolean isPrimitive()
        Description copied from interface: JsValue
        Returns true if this JsValue is a not a Json (neither JsObj nor JsArray)
        Specified by:
        isPrimitive in interface JsValue
        Returns:
        true if this JsValue is a not a Json (neither JsObj nor JsArray)
      • isJson

        public boolean isJson()
        Description copied from interface: JsValue
        Returns true if this JsValue is a Json (JsObj or JsArray)
        Specified by:
        isJson in interface JsValue
        Returns:
        true if this JsValue is a Json (JsObj or JsArray)