remove json stuff

using JSON for formats or properties is not a good idea because we can't
add more types like pointers, fd, rectangles without weird hacks. Our
PODs are more easy to parse and extend and now there is an easy way
to parse and create them as well.
This commit is contained in:
Wim Taymans 2017-09-28 17:07:43 +02:00
parent 81e5708442
commit d65012ff21
5 changed files with 1 additions and 886 deletions

View file

@ -137,7 +137,7 @@ spa_pod_maker_build(struct spa_pod_maker *maker,
spa_pod_builder_push_array(&maker->b, &maker->frame[maker->depth++]);
break;
case '{':
spa_pod_builder_push_map(&maker->b, &maker->frame[maker->depth++]);
spa_pod_builder_push_object(&maker->b, &maker->frame[maker->depth++], 0, 0);
break;
case ']': case '}': case ')':
spa_pod_builder_pop(&maker->b, &maker->frame[--maker->depth]);