projects
/
platform
/
framework
/
native
/
json.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
addition ot compose unescape api to jsonwriter
[platform/framework/native/json.git]
/
src
/
FWebJson_JsonWriterImpl.h
diff --git
a/src/FWebJson_JsonWriterImpl.h
b/src/FWebJson_JsonWriterImpl.h
index
6dbead1
..
268bba7
100644
(file)
--- a/
src/FWebJson_JsonWriterImpl.h
+++ b/
src/FWebJson_JsonWriterImpl.h
@@
-61,7
+61,6
@@
public:
* @param[out] pBuffer Buffer with Json encoded data.
* @return An error code
* @exception E_SUCCESS The method was successful.
* @param[out] pBuffer Buffer with Json encoded data.
* @return An error code
* @exception E_SUCCESS The method was successful.
- * @exception E_FAILURE In case of error.
*/
static result Compose(const IJsonValue* pValue, void* pBuffer, int bufferLength);
*/
static result Compose(const IJsonValue* pValue, void* pBuffer, int bufferLength);
@@
-73,10
+72,11
@@
public:
* @param[out] buffer Buffer with Json encoded data
* @return An error code
* @exception E_SUCCESS The method was successful.
* @param[out] buffer Buffer with Json encoded data
* @return An error code
* @exception E_SUCCESS The method was successful.
- * @exception E_FAILURE In case of error.
*/
static result Compose(const IJsonValue* pValue, Tizen::Base::ByteBuffer& buffer);
*/
static result Compose(const IJsonValue* pValue, Tizen::Base::ByteBuffer& buffer);
+ static result ComposeUnescapeUnicode(const IJsonValue* pValue, Tizen::Base::ByteBuffer& buffer);
+
private:
/**
* This is the default constructor for this class.
private:
/**
* This is the default constructor for this class.
@@
-92,9
+92,9
@@
private:
*/
virtual ~_JsonWriterImpl(void){}
*/
virtual ~_JsonWriterImpl(void){}
- static result ConvertIJsonToString(IJsonValue* pValue, Tizen::Base::String& outString);
+ static result ConvertIJsonToString(IJsonValue* pValue, Tizen::Base::String& outString
, bool unEscUnicode = false
);
- static result ToEscString(const Tizen::Base::String& unEscStr, Tizen::Base::String& escString);
+ static result ToEscString(const Tizen::Base::String& unEscStr, Tizen::Base::String& escString
, bool unEscUnicode = false
);
}; // _JsonWriterImpl
}; // _JsonWriterImpl