JSON

From TouchDesigner Documentation
Jump to: navigation, search

JSON (JavaScript Object Notation) is a lightweight data-interchange format, easy for humans to read and write, and easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language spec.

Intro to JSON at json.org - JSON

A JSON overview

Import the basic functions in TouchDesigner in a script: import json

JSON is closely tied to python dictionaries. See: https://www.programiz.com/python-programming/dictionary

There are JSON functions specific to TouchDesigner. TDJSON goes to/from TouchDesigner objects.

The component types that are used to render 3D scenes: Geometry Component contain the 3D shapes to render, plus Camera, Light, Ambient Light, Null, Bone, Handle and other component types.