Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dnachbaur
Copy link
Contributor

No description provided.

format(self.cxxName, self.value_type.type, self.value_type.get_data_type(), self.cxxname)
return 'if( ::zerobuf::hasJSONField( json, "{2}" ))'\
'{3} set{0}( {1}( string_to_{1}( ::zerobuf::fromJSON< std::string >( ::zerobuf::getJSONField( json, "{2}" )))));'.\
format(self.cxxName, self.value_type.type, self.cxxname, NEXTLINE)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not quiet obvious to me what the difference is between cxxName and cxxname. Any chance this can be clarified by finding a more appropriate variable name?

@dnachbaur dnachbaur changed the title Support partial JSON updates Support partial JSON updates, handle errors in _parseJSON with a proper reply to http clients Nov 15, 2016
@dnachbaur dnachbaur merged commit cbe1f0a into HBPVIS:master Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants