OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Json
(Results
1 - 7
of
7
) sorted by null
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/util/
json.h
23
// Parses a
JSON
dictionary of strings. Sample usage:
24
// scoped_ptr<
Json
>
json
(
Json
::Build());
25
// if (
json
->ParseObject("{'key1':'value1', 'key2':'value2'}") &&
26
//
json
->HasStringKey("key1")) {
27
// Process(
json
->GetStringValueForKey("key1"));
29
class
Json
{
31
virtual ~
Json
();
33
// Returns a new instanec of |
Json
| object. The caller owns the result
[
all
...]
json.cc
15
#include "
json
.h"
32
class Rapidjson : public
Json
{
38
virtual bool ParseObject(const std::string&
json
) {
39
document_->Parse<rapidjson::kParseValidateEncodingFlag>(
json
.c_str());
60
//
JSON
document.
63
// True if the parsed string is a valid
JSON
object.
71
Json
::~
Json
() {}
74
Json
*
Json
::Build()
[
all
...]
/external/chromium_org/third_party/libaddressinput/chromium/
json.cc
5
#include "cpp/src/util/
json
.h"
8
#include "base/
json
/json_reader.h"
18
class ChromeJson : public
Json
{
24
virtual bool ParseObject(const std::string&
json
) {
27
// |
json
| is converted to a |c_str()| here because rapidjson and other parts
29
scoped_ptr<base::Value> parsed(base::JSONReader::Read(
json
.c_str()));
56
Json
::~
Json
() {}
59
Json
*
Json
::Build()
[
all
...]
/external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
json_reader.cpp
7
# include <
json
/assertions.h>
8
# include <
json
/reader.h>
9
# include <
json
/value.h>
32
namespace
Json
{
185
addError( "A valid
JSON
document must be either an array or an object value.",
914
Json
::Reader reader;
928
} // namespace
Json
json_value.cpp
7
# include <
json
/assertions.h>
8
# include <
json
/value.h>
9
# include <
json
/writer.h>
27
namespace
Json
{
66
static inline double integerToDouble(
Json
::UInt64 value )
120
} // namespace
Json
139
namespace
Json
{
654
// attempt to take address of bit-field structure member `
Json
::Value::type_'
[
all
...]
/external/chromium_org/third_party/jsoncpp/overrides/include/json/
value.h
10
# include "
json
/forwards.h"
24
/** \brief
JSON
(JavaScript Object Notation).
26
namespace
Json
{
63
*
Json
::Value aValue( StaticString("some text") );
64
*
Json
::Value object;
91
/** \brief Represents a <a HREF="http://www.
json
.org">
JSON
</a> value.
129
typedef
Json
::UInt UInt;
130
typedef
Json
::Int Int;
132
typedef
Json
::UInt64 UInt64
[
all
...]
/libcore/benchmarks/libs/
caliper.jar
Completed in 188 milliseconds