diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-03-20 21:42:09 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-03-20 21:42:09 +0900 |
| commit | f4e2c7f0603fdb0609bf163ee5ea683a44b98d69 (patch) | |
| tree | 18227134780ec9417ecc7b24969f35725a377e04 /src/json.h | |
| parent | f16511012e28d1303e300e695b310d01b6200c2c (diff) | |
Added JSON-RPC over WebSocket.
Wslay library must be placed under deps/wslay.
Diffstat (limited to 'src/json.h')
| -rw-r--r-- | src/json.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -45,6 +45,8 @@ namespace json { // Parses JSON text defined in RFC4627. SharedHandle<ValueBase> decode(const std::string& json); +SharedHandle<ValueBase> decode(const unsigned char* json, size_t len); + std::string jsonEscape(const std::string& s); template<typename OutputStream> |
