# References

summary
public | F getChildrenProperty(options: Object): Object[] | String returns a valid jsonx.children property |
public | F getChildrenProps(options: Object): Object | String Used to pass properties down to child components if passprops is set to true |
public | F getJSONXChildren(options: *) returns React Child Elements via JSONX |
public | F getBoundedComponents(options: Object, boundedComponents: string[]): Object getBoundedComponents returns reactComponents with certain elements that have this bounded to select components in the boundedComponents list |
public | F getComponentFromLibrary(options: Object): function | undefined returns a react component from a component library |
public | F getComponentFromMap(options: Object): string | function | class returns a react element from jsonx.component |
public | F getFunctionFromEval(options: Object): Function Returns a new function from an options object |
public | F getReactClassComponent(reactComponent: Object): Function Returns a new React Component |
public | F getReactContext() |
public | F getReactFunctionComponent(reactComponent: *, functionBody: String): Function Returns new React Function Component |
private | F __express(filePath: string, options: object, callback: *) Use JSONX for express view rendering |
private | F __getReact(): Object Exposes react module used in JSONX |
private | F __getReactDOM(): Object Exposes react dom module used in JSONX |
private | F __getUseGlobalHook(): Object Exposes global hook used in JSONX |
public | F compile(jsonx: Object, resources: Object): function converts a jsonx json object into a react function component |
public | F getReactElementFromJSON(): function converts a json object {type,props,children} into a react element |
public | F getReactElementFromJSONX(jsonx: object, resources: object): function Use React.createElement and JSONX JSON to create React elements |
public | F jsonToJSX(json: Object): String converts JSONX JSON IR to JSX |
public | F jsonxRender(config: object) Use JSONX without any configuration to render JSONX JSON to HTML and insert JSONX into querySelector using ReactDOM.render |
public | F outputHTML(config: object): string Use ReactDOMServer.renderToString to render html from JSONX |
public | F outputJSON(jsonx: object, resources: object): Object Compiles JSONX into JSON IR format for react create element |
public | F outputJSX(json: Object): String converts JSONX JSON IR to JSX |
public | F boundArgsReducer() |
public | F getChildrenComponents(options: *) returns children jsonx components defined on spreadComponent spread over an array on props.spread |
public | F getComponentProps(options: Object): Object Resolves jsonx.__dangerouslyInsertComponents into an object that turns each value into a React components. |
public | F getComputedProps(options: Object) Returns computed properties for React Components and any property that's prefixed with __ is a computedProperty |
public | F getEvalProps(options: Object): Object Used to evalute javascript and set those variables as props. |
public | F getFunctionFromProps(options: Object): Function Takes a function string and returns a function on either this.props or window. |
public | F getFunctionProps(options: Object): Object Returns a resolved object from function strings that has functions pulled from jsonx.__functionProps |
public | F getJSONXProps(traverseObject: Object, options: Object): Object It uses traverse on a traverseObject to returns a resolved object on propName. |
public | F getParamNames(func: Function) returns the names of parameters from a function declaration |
public | F getReactComponentProps(options: Object): Object Resolves jsonx.__dangerouslyInsertReactComponents into an object that turns each value into a React components. |
public | F getWindowComponents(options: Object): Object Returns a resolved object that has React Components pulled from window.__jsonx_custom_elements |
public | F displayComponent(options: Object): Boolean Used to evaluate whether or not to render a component |
public | F getAdvancedBinding(): Boolean Use to test if can bind components this context for react-redux-router |
public | F getSimplifiedJSONX(jsonx: Object): Object Transforms Valid JSONX JSON to SimpleJSONX {component,props,children} => {[component]:{props,children}} |
public | F simpleJSONXSyntax(simpleJSONX: Object): Object Transforms SimpleJSONX to Valid JSONX JSON {[component]:{props,children}} => {component,props,children} |
public | F traverse(paths: Object, data: Object): Object take an object of array paths to traverse and resolve |
public | F validSimpleJSONXSyntax(simpleJSONX: Object): Boolean validates simple JSONX Syntax {[component]:{props,children}} |
public | F validateJSONX(jsonx: Object, returnAllErrors: Boolean): Boolean | Error[] Validates JSONX JSON Syntax |
public | V advancedBinding |
public | V componentMap object of all react components available for JSONX |
private | V _jsonxChildren |
private | V _jsonxComponents |
private | V _jsonxProps |
private | V _jsonxUtils |
public | V getReactElement |
public | V getRenderedJSON |
public | V jsonxHTMLString |
public | V renderIndex |
public | V ARGUMENT_NAMES |
public | V STRIP_COMMENTS |