Send only a few entries of JSON array -


is possible send entries of json array?

i have json object defined following schema:

"linegroup": {     "type": "array",     "description": "line group active",     "items": {         "type": "boolean"     },     "maxitems": 10 } 

at beginning entries send. later on entries changed , these new values must updated.

if syntax @ beginning when send full array is:

[{"linegroup":"false"},{"linegroup":"true"},...,{"linegroup":"true"}] 

what syntax send 1 or 2 entries have changed in array? need resend whole array?

you use json patch update original json object:

http://jsonpatch.com/

the cool thing patch documents json documents.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -