Allow JSON numeric fields to be specified by a numeric data in a string.

Change-Id: I6a3fae1e71434a7384edc39b8602bd84a0432edb
Tested: on Linux.
Bug: 24140897
This commit is contained in:
Wouter van Oortmerssen
2016-03-07 17:22:51 -08:00
parent 709e720839
commit fbc8af40e3
3 changed files with 25 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
{
pos: {
x: 1,
y: 2,
y: "2",
z: 3,
test1: 3,
test2: Green,
@@ -30,7 +30,7 @@
b: 20
},
{
b: 40,
b: "40",
a: 30
}
],