HomeSort by relevance Sort by last modified time
    Searched refs:fromJSON (Results 1 - 3 of 3) sorted by null

  /external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
JsonDeserializable.java 23 public JSONObject fromJSON() throws JSONException;
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
JSON.h 23 /// types. See fromJSON(), ObjectMapper, and the class comment on Value.
36 /// declarative than the toJSON/fromJSON conventions here.
251 /// fromJSON(const json::Value&, T&)->bool
260 /// ObjectMapper can help writing fromJSON() functions for object types.
558 inline bool fromJSON(const Value &E, std::string &Out) {
565 inline bool fromJSON(const Value &E, int &Out) {
572 inline bool fromJSON(const Value &E, int64_t &Out) {
579 inline bool fromJSON(const Value &E, double &Out) {
586 inline bool fromJSON(const Value &E, bool &Out) {
593 template <typename T> bool fromJSON(const Value &E, llvm::Optional<T> &Out)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
JSONTest.cpp 342 bool fromJSON(const Value &E, CustomStruct &R) {
373 ASSERT_TRUE(fromJSON(J, R));
377 EXPECT_FALSE(fromJSON(nullptr, V)) << "Not an object " << V;
378 EXPECT_FALSE(fromJSON(Object{}, V)) << "Missing required field " << V;
379 EXPECT_FALSE(fromJSON(Object{{"str", 1}}, V)) << "Wrong type " << V;
381 EXPECT_FALSE(fromJSON(Object{{"str", 1}, {"int", "string"}}, V))

Completed in 402 milliseconds