From 9557c4b2a1107368b049d56419af38c9aa1e9434 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Wed, 25 Jun 2014 18:52:43 -0400 Subject: Add 'extras' field to JSON messages for custom data. --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6c4e23b7..fd32e900 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,20 @@ should support this). This document describes the JSON format and includes a high level description of each type and field. Each JSON message published by a VI is delimited with a -`\0` character. +`\0 ` character. + +### Extra Values + +Any of the following JSON objects may optionally include an `extras` +field. The value may be any valid JSON object or array. The client libraries +will do their best to parse this information into a generic format and pass it +to your application. For example: + + {"name": "steering_wheel_angle", "value": 45, + "extras": { + "calibrated": false + } + } ### Single Valued -- cgit