yhook: rename outCollection() => outObject() to be more json

Origin commit data
------------------
Branch: ni/coolstream
Commit: 69615480f1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-23 (Tue, 23 Feb 2016)

Origin message was:
------------------
- yhook: rename outCollection() => outObject() to be more json

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-02-23 14:56:52 +01:00
parent 473cc6afec
commit ffcf0fc8a3
3 changed files with 11 additions and 11 deletions

View File

@@ -495,7 +495,7 @@ std::string CyhookHandler::outArrayItem(std::string _key, std::string _content,
return result;
}
//-----------------------------------------------------------------------------
std::string CyhookHandler::outCollection(std::string _key, std::string _content, bool _next) {
std::string CyhookHandler::outObject(std::string _key, std::string _content, bool _next) {
std::string result = "";
switch (outType) {
case xml:

View File

@@ -208,7 +208,7 @@ public:
std::string outPair(std::string _key, std::string _content, bool _next);
std::string outArray(std::string _key, std::string _content);
std::string outArrayItem(std::string _key, std::string _content, bool _next);
std::string outCollection(std::string _key,std::string _content, bool _next = false);
std::string outObject(std::string _key,std::string _content, bool _next = false);
std::string outValue(std::string _content);
std::string outNext();
friend class CyParser;