Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify JSON encoding #9

Open
itszootime opened this issue Aug 2, 2012 · 1 comment
Open

Clarify JSON encoding #9

itszootime opened this issue Aug 2, 2012 · 1 comment

Comments

@itszootime
Copy link
Owner

Mostly for array (e.g. Double[].class) DataDescriptions, and ensure the most usable format.

@itszootime
Copy link
Owner Author

Also,

{ "type": "Request",
  "identifier": "ExampleProcess",
  "inputs": [
    { "identifier": "InputA",
      "data": "input data" },
    { "identifier": "InputB",
      "data": "some more data" }
  ] }

Or (as it is currently):

{ "ExampleProcessRequest": {
    "InputA": "input data",
    "InputB": "some more data"
  } }

Or (hybrid):

{ "type": "Request",
  "identifier": "ExampleProcess",
  "InputA": "input data",
  "InputB": "some more data" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant