mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-06 13:41:35 +01:00
add Key()->String()
forwarding to the capitalize
example
This commit is contained in:
parent
0f4071046f
commit
c8da4d86fc
@ -31,6 +31,7 @@ struct CapitalizeFilter {
|
|||||||
return out_.String(&buffer_.front(), length, true); // true = output handler need to copy the string
|
return out_.String(&buffer_.front(), length, true); // true = output handler need to copy the string
|
||||||
}
|
}
|
||||||
bool StartObject() { return out_.StartObject(); }
|
bool StartObject() { return out_.StartObject(); }
|
||||||
|
bool Key(const char* str, SizeType length, bool copy) { return String(str, length, copy); }
|
||||||
bool EndObject(SizeType memberCount) { return out_.EndObject(memberCount); }
|
bool EndObject(SizeType memberCount) { return out_.EndObject(memberCount); }
|
||||||
bool StartArray() { return out_.StartArray(); }
|
bool StartArray() { return out_.StartArray(); }
|
||||||
bool EndArray(SizeType elementCount) { return out_.EndArray(elementCount); }
|
bool EndArray(SizeType elementCount) { return out_.EndArray(elementCount); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user