Home
last modified time | relevance | path

Searched defs:JSON (Results 1 – 25 of 105) sorted by relevance

12345

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/filter/
DNullConversionsForContentTest.java48 final String JSON = aposToQuotes("{'values':[null]}"); in testFailOnNullFromDefaults() local
95 final String JSON = aposToQuotes("{'noNulls':[null]}"); in testFailOnNullWithCollections() local
116 final String JSON = aposToQuotes("{'noNulls':[null]}"); in testFailOnNullWithArrays() local
138 final String JSON = aposToQuotes("{'noNulls':[null]}"); in testFailOnNullWithPrimitiveArrays() local
197 final String JSON = aposToQuotes("{'values':[null]}"); in testNullsAsEmptyWithCollections() local
218 final String JSON = aposToQuotes("{'values':[null]}"); in testNullsAsEmptyUsingDefaults() local
240 final String JSON = aposToQuotes("{'values':[null]}"); in testNullsAsEmptyWithArrays() local
253 final String JSON = aposToQuotes("{'values':[null]}"); in testNullsAsEmptyWithPrimitiveArrays() local
310 final String JSON = aposToQuotes("{'values':[null]}"); in testNullsSkipUsingDefaults() local
330 final String JSON = aposToQuotes("{'values':[null]}"); in testNullsSkipWithOverrides() local
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/seq/
DReadValuesTest.java85 final String JSON = "{\"a\":3}{\"a\":27} "; in _testRootBeans() local
115 final String JSON = "[{\"a\":6}, {\"a\":-7}]"; in testRootBeansInArray() local
144 final String JSON = "{\"a\":3}{\"a\":27} "; in testRootMaps() local
168 final String JSON = "{\"a\":3}{\"a\":27} "; in testRootBeansWithParser() local
184 final String JSON = "[1][3]"; in testRootArraysWithParser() local
204 final String JSON = "[1,3]"; in testHasNextWithEndArray() local
224 final String JSON = "[1,3]"; in testHasNextWithEndArrayManagedParser() local
245 final String JSON = "{\"leaf\":[{\"a\":3},{\"a\":27}]}"; in testNonRootBeans() local
269 final String JSON = "[{\"a\":3},{\"a\":27}]"; in testNonRootMapsWithParser() local
294 String JSON = "[{ \"hi\": \"ho\", \"neighbor\": \"Joe\" },\n" in testNonRootMapsWithObjectReader() local
[all …]
DReadRecoveryTest.java27 final String JSON = aposToQuotes("{'a':3} {'x':5}"); in testRootBeans() local
51 final String JSON = aposToQuotes("{'a':3}{'a':27,'foo':[1,2],'b':{'x':3}} {'a':1,'b':2} "); in testSimpleRootRecovery() local
80 … final String JSON = aposToQuotes("[{'a':3},{'a':27,'foo':[1,2],'b':{'x':3}} ,{'a':1,'b':2} ]"); in testSimpleArrayRecovery() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DMapDeserializationTest.java117 String JSON = "{ \"a\" : \"x\" }"; in testUntypedMap2() local
134 String JSON = "{\"a\":[{\"a\":\"b\"},\"value\"]}"; in testUntypedMap3() local
207 String JSON = "{ \"foo\" : 13, \"bar\" : -39, \n \"\" : 0 }"; in testExactStringIntMap() local
229 String JSON = "{ \"1\" : true, \"-1\" : false }"; in testIntBooleanMap() local
246 String JSON = "{ \"a\" : \"b\" }"; in testExactStringStringMap() local
268 String JSON = "{ \"a\" : 1, \"b\" : 2, \"c\" : -99 }"; in testGenericStringIntMap() local
298 String JSON = "{ \"KEY1\" : \"\", \"WHATEVER\" : null }"; in testEnumMap() local
320 String JSON = "{ \"KEY2\" : \"WHATEVER\" }"; in testMapWithEnums() local
365 String JSON = "{ \""+ fmt.format(date1)+"\" : \"\", \""+new Date(0).getTime()+"\" : null }"; in testDateMap() local
394 … String JSON = "{ \""+fmt.format(c.getTime())+"\" : \"\", \""+new Date(0).getTime()+"\" : null }"; in testCalendarMap() local
[all …]
DCollectionDeserTest.java92 String JSON = "[ \"text!\", true, null, 23 ]"; in testUntypedList() local
112 String JSON = "[ \"a\", \"b\" ]"; in testExactStringCollection() local
125 String JSON = "[ \"KEY1\", \"KEY2\" ]"; in testHashSet() local
203 String JSON = "{ \"values\":[\"a\",\"b\"]}"; in testIterableWithStrings() local
216 String JSON = "{ \"nums\":[{\"x\":1},{\"x\":2}]}"; in testIterableWithBeans() local
300 final String JSON = "{\"values\":[\"foo\", \"bar\"]}"; in testAbstractListAndSet() local
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/filter/
DBasicGeneratorFilteringTest.java111 … final String JSON = "{'a':123,'array':[1,2],'ob':{'value0':2,'value':3,'value2':4},'b':true}"; in testNonFiltering() local
126 … final String JSON = "{'a':123,'array':[1,2],'ob':{'value0':2,'value':3,'value2':4},'b':true}"; in testSingleMatchFilteringWithoutPath() local
153 … final String JSON = "{'a':123,'array':[1,2],'ob':{'value0':2,'value':3,'value2':4},'b':true}"; in testSingleMatchFilteringWithPath() local
175 final String JSON = "{'array':[1,[2,3]],'ob':[{'value':'bar'}],'b':{'foo':[1,'foo']}}"; in testSingleMatchFilteringWithPathSkippedArray() local
294 … final String JSON = "{'a':123,'array':[1,2],'ob':{'value0':2,'value':3,'value2':4},'b':true}"; in testMultipleMatchFilteringWithPath1() local
322 … final String JSON = "{'a':123,'array':[1,2],'ob':{'value0':2,'value':3,'value2':4},'b':true}"; in testMultipleMatchFilteringWithPath2() local
335 final String JSON = "{'root':{'a0':true,'a':{'value':3},'b':{'value':'abc'}},'b0':false}"; in testMultipleMatchFilteringWithPath3() local
347 final String JSON = "{'root':{'a0':true,'a':{'value':3},'b':{'value':'abc'}},'b0':false}"; in testMultipleMatchFilteringWithPath4() local
359 … final String JSON = "{'a':123,'array':[1,2],'ob':{'value0':2,'value':3,'value2':'abc'},'b':true}"; in testIndexMatchWithPath1() local
378 String JSON = "{'a':123,'array':[1,2],'ob':{'value0':2,'value':3,'value2':4},'b':true}"; in testIndexMatchWithPath2() local
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DParserScopeMatchingTest.java69 final String JSON = "{ \"abcd"; in _testEOFInName() local
95 final String JSON = "[ nil ]"; in _testWeirdToken() local
116 final String JSON = "[ 1, 2 }"; in _testMismatchArrayToObject() local
139 final String JSON = "{ ]"; in _testMismatchObjectToArray() local
162 final String JSON = "{ \"a\" \"b\" }"; in _testMisssingColon() local
DNonStandardParserFeaturesTest.java70 final String JSON = quote("\\'"); in _testNonStandarBackslashQuoting() local
94 String JSON = "00003"; in _testLeadingZeroes() local
153 final String JSON = "[ NaN]"; in _testAllowNaN() local
200 final String JSON = "[ -INF, +INF, +Infinity, Infinity, -Infinity ]"; in _testAllowInf() local
DNonStandardAposQuotedNamesTest.java56 String JSON = "[ 'text' ]"; in _testSingleQuotesDefault() local
87 …String JSON = "{ 'a' : 1, \"foobar\": 'b', '_abc\\u00A0e\\'23\\'':'d\\'foo\\'', '\"' : '\"\"', '':… in _testSingleQuotesEnabled() local
161 String JSON = "[ '16\\'' ]"; in _testSingleQuotesEscaped() local
DNonStandardUnquotedNamesTest.java73 String JSON = "{ @type : \"mytype\", #color : 123, *error* : true, " in _testNonStandardNameChars() local
126 String JSON = sb.toString(); in _testLargeUnquoted() local
142 String JSON = "{ a : 1, _foo:true, $:\"money!\", \" \":null }"; in _testSimpleUnquoted() local
DParserFeaturesTest.java71 final String JSON = "{ test : 3 }"; in _testQuotesRequired() local
95 String JSON = "[\"tab:\t\"]"; in _testTabsDefault() local
117 String JSON = "{ "+quote(FIELD)+" : "+quote(VALUE)+"}"; in _testTabsEnabled() local
DSimpleParserTest.java66 final String JSON = "{ \""+expName+"\" : 1}"; in _testIntern() local
427 String JSON = "[ 1, 2, 3, 4 ]"; in testBytesAsSource() local
518 String JSON = "{\"a\":1,\"b\":true,\"c\":null,\"d\":\"foo\"}"; in _testGetValueAsText() local
573 final String JSON = "{\"a\":\""+INPUT_TEXT+"\",\"b\":true,\"c\":null,\"d\":\"foobar!\"}"; in _testGetTextViaWriter() local
620 final String JSON = "{\"a\":\""+ longText +"\",\"b\":true,\"c\":null,\"d\":\"foo\"}"; in _testLongerReadText() local
660 final String JSON = "{ \u00A0 \"a\":1}"; in _testHandlingOfInvalidSpace() local
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncScopeMatchingTest.java50 final String JSON = "{ \"abcd"; in testEOFInName() local
69 final String JSON = "[ 1, 2 }"; in testMismatchArrayToObject() local
85 final String JSON = "{ ]"; in testMismatchObjectToArray() local
101 final String JSON = "{ \"a\" \"b\" }"; in testMisssingColon() local
DAsyncNaNHandlingTest.java21 final String JSON = "[ NaN]"; in testDisallowNaN() local
38 final String JSON = "[ NaN]"; in testAllowNaN() local
101 final String JSON = String.format("[%s]", token); in _testDisallowInf() local
121 String JSON = "[ Infinity, +Infinity, -Infinity ]"; in testAllowInf() local
DAsyncNonStdParsingTest.java142 String JSON = "[ 'text' ]"; in _testSingleQuotesDefault() local
193 String JSON = String.format( in _testAposQuotingEnabled() local
287 String JSON = "[ '16\\'' ]"; in _testSingleQuotesEscaped() local
314 String JSON = "{ @type : \"mytype\", #color : 123, *error* : true, " in _testNonStandardNameChars() local
364 final String JSON = quote("\\'"); in _testNonStandarBackslashQuoting() local
DAsyncNonStdNumberHandlingTest.java46 String JSON = valueStr; in _testLeadingZeroesInt() local
84 String JSON = valueStr; in _testLeadingZeroesFloat() local
127 String JSON = valueStr; in _testLeadingPeriodFloat() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTreeReadViaMapperTest.java21 final String JSON = SAMPLE_DOC_JSON_SPEC; in testSimple() local
95 String JSON = "{\"node\" : { \"a\" : 3 }, \"x\" : 9 }"; in testMixed() local
112 String JSON = in testEOF() local
130 final String JSON = " null "; in testNullViaParser() local
141 String JSON = "12 \"string\" [ 1, 2, 3 ]"; in testMultiple() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestTypedArrayDeserialization.java52 String JSON = "{\""+TypedListAsWrapper.class.getName()+"\":[4,5, 6]}"; in testIntList() local
71 String JSON = "[\""+TypedListAsProp.class.getName()+"\",[true, false]]"; in testBooleanListAsProp() local
85 String JSON = "{\""+TypedListAsWrapper.class.getName()+"\":[1, 3]}"; in testLongListAsWrapper() local
108 String JSON = "{\""+long[].class.getName()+"\":[5, 6, 7]}"; in testLongArray() local
DTestTypedDeserialization.java156 String JSON = "{\".TestTypedDeserialization$Dog\" : " in testTypeAsWrapper() local
172 String JSON = "[\""+Dog.class.getName()+"\", " in testTypeAsArray() local
186 String JSON = "[\n" in testListAsArray() local
218 String JSON = "{\"animal\":"+jsonCat+"}"; in testCagedAnimal() local
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DMapperViaParserTest.java80 final String JSON = "{ \"x\" : 9 }"; in testPojoReading() local
102 final String JSON = "[ 1, true, null, \"abc\" ]"; in testIncrementalPojoReading() local
137 final String JSON = "{ \"x\" : 9 }"; in testPojoReadingFailing() local
DObjectReaderTest.java37 final String JSON = "[1]"; in testSimpleViaParser() local
47 final String JSON = "[1]"; in testSimpleAltSources() local
116 final String JSON = "[ /* foo */ 7 ]"; in testParserFeaturesComments() local
139 String JSON = "{ "+quote(FIELD)+" : "+quote(VALUE)+"}"; in testParserFeaturesCtrlChars() local
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/format/
DTestJsonFormatDetection.java38 final String JSON = "{ \"field\" : true }"; in testSimpleValidObject() local
65 final String JSON = "\"JSON!\""; in testSimpleValidString() local
/external/webrtc/examples/objc/AppRTCMobile/
DRTCIceServer+JSON.m14 (JSON) category
/external/cronet/third_party/protobuf/js/experimental/runtime/kernel/conformance/
Dwire_format.js12 JSON: 2, property
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/merge/
DMapMergeTest.java60 final String JSON = aposToQuotes("{'values':{'c':'y','d':null}}"); in testShallowMapMerging() local
76 final String JSON = aposToQuotes("{'values':{'72':'b','666':null}}"); in testShallowNonStringMerging() local

12345