Skip to content

Instantly share code, notes, and snippets.

@apiarian
Created July 8, 2016 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apiarian/d41ea27cf87f2c6ccd6fed73c3d57f97 to your computer and use it in GitHub Desktop.
Save apiarian/d41ea27cf87f2c6ccd6fed73c3d57f97 to your computer and use it in GitHub Desktop.
( (1 or 2 or 3) and (not (4 and (5 or 6 ) ) ) )
{
"operator": "AND",
"subsections": [
{
"operator": "OR",
"entities": [ 1, 2, 3 ]
},
{
"operator": "NOT",
"subsections": [
{
"operator": "AND",
"subsections": [
{
"operator": "OR",
"entities": [ 4 ]
},
{
"operator": "OR",
"entities": [ 5, 6 ]
}
]
}
]
}
]
}
@jhannah
Copy link

jhannah commented Jul 20, 2016

Arguably human-friendly JSON proposal: https://github.com/MediaMath/nemo/blob/qa/docs/endpoints.md

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