Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 937 Bytes

SwiftJSONEditor-JavascriptProjectNode.md

File metadata and controls

15 lines (12 loc) · 937 Bytes

JavascriptProjectNode Class

JavascriptProjectNode class represents scripting class for Swift JSON Editor project nodes.

Properties

Properties Value Type Access Description
name String get / set project node name
identifier String get / set identifier for project node, in scripting functions you can obtain project nodes from global context using its identifier string
type Number get Folder:0, Model:1, APIGroup:2, APIEndpoint:3, ScriptedServer:4, Note: 5, UnKnown:-1
parent ProjectNode get parent node
children Array of ProjectNode objects get Object,Array,SmartObject or SmartArray nodes can contain child nodes.
index Number get Current index of node within its parent node
rootJsonNode JsonNode get the root json node associated with project node