Module: gbXMLParser

gbXMLParser

Methods


<static> getXML2jsobj(node)

Returns JSON from gbxml ???
Parameters:
Name Type Description
node Object

<static> parseFileXML(xml)

Parses a gbXML string and returns a list of 'jsonified' surfaces
Parameters:
Name Type Description
xml string
Returns:
A JSON parsed list of surfaces from the gbXML
Type
Object

<inner> Add(data, name, value)

I am not really sure what this does... Theo any help?
Parameters:
Name Type Description
data Object a data accumulator
name string the name of a key
value * The value to set the key to in the data accumulator
Returns:
returns the data object with any additional accumulated data
Type
Object