cfboom.gson

Class JsonParser

lucee.Component
    extended by cfboom.lang.Object
      extended by cfboom.gson.JsonParser

A parser to parse Json into a parse tree of JsonElements. A wrapper facade to the JsonParser object (http://static.javadoc.io/com.google.code.gson/gson/2.8.2/com/google/gson/JsonParser.html).

Class Attributes:
  • singleton : true
  •  
  • output : false
  •  
  • displayname : Class JsonParser
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
  • author : Joel Tobey
  •  
    Property Summary
    type property default serializable required
    any loader


    • access = public
    • returntype = any
    • inject = javaLoader@cfboomGson
    true false
    any log


    • access = public
    • returntype = any
    • inject = logbox:logger:{this}
    true false
    Constructor Summary
    init()
    Method Summary
    void onDIComplete()
    any parse(any json)
     
    Methods inherited from class cfboom.lang.Object
    $equals, getComponentName, getIdentityHashCode, getIdentityString, getMeta, hashCode, toString
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    loader

    property any loader

    Attributes:
    access - public
    required - false
    returntype - any
    inject - javaLoader@cfboomGson
    serializable - true

    log

    property any log

    Attributes:
    access - public
    required - false
    returntype - any
    inject - logbox:logger:{this}
    serializable - true

    Method Detail

    onDIComplete

    public void onDIComplete()


    parse

    public any parse(any json)

    Parameters:
    json