Menu

JSON_OSC_Bridge

Shane Saxon

[Home] - [Developer_Guide] - [Network_API] - [JSON_OSC_Bridge] - hosted at openANTz.com

also see: [JSON_API] - [OSC_API] - [OSC_Schema] - [MySQL_API]

updated 2013-02-05

Network docs and code are in development, this is a DRAFT!!!


JSON - OSC Bridge

  • Translator between OSC Message address space and JSON

example: http://vimeo.com/40382800#at=0

The JSON - OSC Bridge converts between JSON - HTTP - TCP/IP streams and OSC - UDP/IP Packets.
A loss-less bi-directional a-synchronous network protocol bridge.

  • Parses OSC Message address space and JSON streams using a single Unified Schema
  • Unified Schema provides direct access to the Core [C_API]
  • Single C-Struct Descriptor used for, OSC, JSON and our [Plugin_API]

This documents primary focus is translating the Unified Schema between OSC and JSON.

See [JSON_API] for overview of Core [C_API] support for JSON streams and file IO.

  • JSON - OSC Bridge is NOT the same as encapsulating 'JSON over OSC', see [OSC_Schema]

Unified Schema

  • Access control commands, hardware IO and scene state including animation
  • Uses a single Unified C-struct as a descriptor for both OSC and JSON
  • Unified Descriptor also works with the function plugin architecture
  • Query System allows discovery of (dynamic) schemas
  • Documentation such as object name with human-readable description
  • Error handling and reporting

References:

https://github.com/stuntgoat/jsox/commit/9ca4d06ffdf48b7f35d183c97e205d081b57ce66

IBM - JSON Parser - Message tree mapping in the JSON domain

http://en.wikipedia.org/wiki/JSON

json-c / libjson Tutorial with Examples

https://github.com/johnezang/JSONKit

http://www.jsonpro.com - Viewer

json-c-0.9

http://blog.coolaj86.com/articles/json-c-example.html

JSON Parsers Discussion

jansson

parser discussion

http://maisonbisson.com/blog/post/12488/browser-based-json-editors/

http://www.jquery4u.com/demos/online-json-tree-viewer/

http://createdigitalmusic.com/2011/01/music-control-meets-web-code-goodness-app-for-ios-soon-oscmidi-everywhere/

http://charlie-roberts.com/Control/?page_id=47

http://bassistance.de/jquery-plugins/

http://www.json.org/xml.html

http://www.kasperkamperman.com/blog/scratch-osc-bridge/

https://media.readthedocs.org/pdf/boing/latest/boing.pdf

http://permalink.gmane.org/gmane.comp.audio.csound.devel/22049

http://comments.gmane.org/gmane.comp.audio.csound.devel/22020

http://www.kasperkamperman.com/blog/scratch-osc-bridge/


https://developers.google.com/gdata/docs/json

https://developers.google.com/gdata/samples/spreadsheet_sample?hl=en

https://developers.google.com/apps-script/external_apis?hl=en

https://developers.google.com/youtube/2.0/developers_guide_jsonc?hl=en


Related

Wiki: C_API
Wiki: Developer_Guide
Wiki: Home
Wiki: JSON_OSC_Bridge
Wiki: MySQL_API
Wiki: Network_API
Wiki: OSC_3rd_Party
Wiki: OSC_API
Wiki: OSC_Schema
Wiki: OSC_Spec
Wiki: Plugin_API