String.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <etk/types.hpp>
9 #include <ejson/Value.hpp>
10 
11 namespace ejson {
15  class String : public ejson::Value {
16  public:
26  String(const ejson::String& _obj);
31  String(const std::string& _value="");
38  public:
43  void set(const std::string& _value);
49  std::string get(const std::string& _errorValue="") const;
50  };
51 }
52 
the element "..."
ejson namespace containing all function for JSON interpretor
Definition: Array.hpp:12
ejson String interface.
Definition: String.hpp:15
String(ememory::SharedPtr< ejson::internal::Value > _internalValue)
Constructor.
ejson::String & operator=(const ejson::String &_obj)
Copy constructor.
Basic main object of all json elements.
Definition: Value.hpp:31