MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ParseJson

Function ParseJson

tensorflow/contrib/cloud/kernels/bigquery_table_accessor.cc:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34Status ParseJson(StringPiece json, Json::Value* result) {
35 Json::Reader reader;
36 if (!reader.parse(string(json), *result)) {
37 return errors::Internal("Couldn't parse JSON response from BigQuery.");
38 }
39 return Status::OK();
40}
41
42Status ParseColumnType(const string& type,
43 BigQueryTableAccessor::ColumnType* enum_type) {

Callers 2

ReadRowMethod · 0.70
ReadSchemaMethod · 0.70

Calls 2

InternalFunction · 0.85
parseMethod · 0.45

Tested by

no test coverage detected