Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Common API: MethodResultConvertor fix for JSON

  • Loading branch information...
commit 76c6eb620b3cc93ff8fa4ea609da67aab95c80a3 1 parent 5a500e5
@dipspb dipspb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  platform/shared/api_generator/MethodResultConvertor.h
View
2  platform/shared/api_generator/MethodResultConvertor.h
@@ -286,7 +286,7 @@ class CJSONResultConvertor<CMethodResult>
int j = 0;
for(rho::Hashtable<rho::String, rho::String>::iterator it = m_oResult.getHashArray()[i].begin(); it != m_oResult.getHashArray()[i].end(); ++it, ++j)
{
- if (j > 1)
+ if (j > 0)
resArray += ",";
resArray += CJSONEntry::quoteValue(it->first);
Please sign in to comment.
Something went wrong with that request. Please try again.