jsonx
    Preparing search index...

    Function outputJSON

    • Compiles JSONX into JSON IR format for react create element

      Parameters

      • jsonx: jsonx

        any valid JSONX JSON object

      • resources: {} = {}

        any additional resource used for asynchronous properties

      Returns JSONReactElement

      json - {type,props,children}

      jsonx.outputJSON({ component: 'div', props: { title: 'test', }, children: 'hello', }); //=> { type: 'div',
      props: { key: 5, title: 'test' },
      children: 'hello' }