Home
last modified time | relevance | path

Searched full:json (Results 1 – 25 of 3258) sorted by relevance

12345678910>>...131

/external/jsoncpp/src/test_lib_json/
Dmain.cpp7 #include <json/config.h>
8 #include <json/json.h>
13 #define kint32max Json::Value::maxInt
14 #define kint32min Json::Value::minInt
15 #define kuint32max Json::Value::maxUInt
16 #define kint64max Json::Value::maxInt64
17 #define kint64min Json::Value::minInt64
18 #define kuint64max Json::Value::maxUInt64
27 // Json Library test cases
32 static inline double uint64ToDouble(Json::UInt64 value) { in uint64ToDouble()
[all …]
/external/python/cpython2/Lib/json/tests/
Dtest_fail.py1 from json.tests import PyTest, CTest
5 # http://json.org/JSON_checker/test/fail1.json
6 '"A JSON payload should be an object or array, not a string."',
7 # http://json.org/JSON_checker/test/fail2.json
9 # http://json.org/JSON_checker/test/fail3.json
11 # http://json.org/JSON_checker/test/fail4.json
13 # http://json.org/JSON_checker/test/fail5.json
15 # http://json.org/JSON_checker/test/fail6.json
17 # http://json.org/JSON_checker/test/fail7.json
19 # http://json.org/JSON_checker/test/fail8.json
[all …]
/external/python/cpython3/Lib/test/test_json/
Dtest_fail.py5 # http://json.org/JSON_checker/test/fail1.json
6 '"A JSON payload should be an object or array, not a string."',
7 # http://json.org/JSON_checker/test/fail2.json
9 # http://json.org/JSON_checker/test/fail3.json
11 # http://json.org/JSON_checker/test/fail4.json
13 # http://json.org/JSON_checker/test/fail5.json
15 # http://json.org/JSON_checker/test/fail6.json
17 # http://json.org/JSON_checker/test/fail7.json
19 # http://json.org/JSON_checker/test/fail8.json
21 # http://json.org/JSON_checker/test/fail9.json
[all …]
/external/skia/infra/bots/recipe_modules/checkout/examples/full.expected/
Dflutter_trybot.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
64 "@@@STEP_LOG_LINE@json.output@{@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
66 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"src/flutter\": \"origin/master\", @@@",
68 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/skia\": \"abc123\"@@@",
[all …]
DBuild-Win-Clang-x86_64-Release-ParentRevision.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123^\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
Dparent_revision_trybot.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
DBuild-Mac-Clang-x86_64-Debug-CommandBuffer.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
Dtrybot.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
62 "@@@STEP_LOG_LINE@json.output@{@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
66 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
Dcross_repo_trybot.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
62 "@@@STEP_LOG_LINE@json.output@{@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"parent_repo\": \"abc123\"@@@",
66 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
DHousekeeper-Weekly-RecreateSKPs.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
/external/skqp/infra/bots/recipe_modules/checkout/examples/full.expected/
Dflutter_trybot.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
64 "@@@STEP_LOG_LINE@json.output@{@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
66 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"src/flutter\": \"origin/master\", @@@",
68 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/skia\": \"abc123\"@@@",
[all …]
DBuild-Win-Clang-x86_64-Release-ParentRevision.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123^\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
Dparent_revision_trybot.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
Dtrybot.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
62 "@@@STEP_LOG_LINE@json.output@{@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
66 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
Dcross_repo_trybot.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
62 "@@@STEP_LOG_LINE@json.output@{@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"parent_repo\": \"abc123\"@@@",
66 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
DBuild-Mac-Clang-x86_64-Debug-CommandBuffer.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
/external/webrtc/webrtc/base/
Djson.h18 #include "json/json.h"
20 #include "third_party/jsoncpp/json.h"
26 // JSON Helpers
30 bool GetIntFromJson(const Json::Value& in, int* out);
31 bool GetUIntFromJson(const Json::Value& in, unsigned int* out);
32 bool GetStringFromJson(const Json::Value& in, std::string* out);
33 bool GetBoolFromJson(const Json::Value& in, bool* out);
34 bool GetDoubleFromJson(const Json::Value& in, double* out);
36 // Pull values out of a JSON array.
37 bool GetValueFromJsonArray(const Json::Value& in, size_t n,
[all …]
Djson.cc11 #include "webrtc/base/json.h"
21 bool GetStringFromJson(const Json::Value& in, std::string* out) { in GetStringFromJson()
42 bool GetIntFromJson(const Json::Value& in, int* out) { in GetIntFromJson()
45 ret = in.isConvertibleTo(Json::intValue); in GetIntFromJson()
62 bool GetUIntFromJson(const Json::Value& in, unsigned int* out) { in GetUIntFromJson()
65 ret = in.isConvertibleTo(Json::uintValue); in GetUIntFromJson()
82 bool GetBoolFromJson(const Json::Value& in, bool* out) { in GetBoolFromJson()
85 ret = in.isConvertibleTo(Json::booleanValue); in GetBoolFromJson()
103 bool GetDoubleFromJson(const Json::Value& in, double* out) { in GetDoubleFromJson()
106 ret = in.isConvertibleTo(Json::realValue); in GetDoubleFromJson()
[all …]
/external/skqp/infra/bots/recipes/bookmaker.expected/
Dnightly_bookmaker.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
Dpercommit_bookmaker.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
/external/skia/infra/bots/recipes/housekeeper.expected/
DHousekeeper-PerCommit.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
DHousekeeper-PerCommit-Trybot.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
62 "@@@STEP_LOG_LINE@json.output@{@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
66 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
/external/skqp/infra/bots/recipes/housekeeper.expected/
DHousekeeper-PerCommit.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
64 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
DHousekeeper-PerCommit-Trybot.json7 "--json-output",
8 "/path/to/tmp/json",
22 "--json-output",
23 "/path/to/tmp/json",
46 "/path/to/tmp/json",
62 "@@@STEP_LOG_LINE@json.output@{@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
66 "@@@STEP_LOG_LINE@json.output@ }, @@@",
[all …]
/external/python/cpython3/Doc/library/
Djson.rst1 :mod:`json` --- JSON encoder and decoder
4 .. module:: json
5 :synopsis: Encode and decode the JSON format.
10 **Source code:** :source:`Lib/json/__init__.py`
14 `JSON (JavaScript Object Notation) <http://json.org>`_, specified by
21 :mod:`json` exposes an API familiar to users of the standard library
26 >>> import json
27 >>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
29 >>> print(json.dumps("\"foo\bar"))
31 >>> print(json.dumps('\u1234'))
[all …]

12345678910>>...131