* Serializes the JSON-encoded data from IJsonValue to Tizen::Base::ByteBuffer.
*
* @since 2.0
- *
* @return An error code
* @param[in] pValue The JSON value to encode
- * @param[out] buffer The buffer with JSON-encoded data
+ * @param[out] buffer The buffer with JSON-encoded data @n
+ * The value has to be constructed with a non-zero capacity.
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_DATA The specified @c pValue is @c null.
- * @remarks The ByteBuffer parameter has to be constructed with a non-zero capacity before calling this method.
*/
static result Compose(const IJsonValue* pValue, Tizen::Base::ByteBuffer& buffer);
* Serializes the JSON-encoded data from IJsonValue to Tizen::Base::ByteBuffer with unescaped wide characters.
*
* @since 2.1
- *
* @return An error code
* @param[in] pValue The JSON value to encode
- * @param[out] buffer The buffer with JSON-encoded data
+ * @param[out] buffer The buffer with JSON-encoded data @n
+ * The value has to be constructed with a non-zero capacity.
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_DATA The specified @c pValue is @c null.
- * @remarks The ByteBuffer parameter has to be constructed with a non-zero capacity before calling this method.
*/
static result ComposeUnescapeUnicode(const IJsonValue* pValue, Tizen::Base::ByteBuffer& buffer);