Permalink
Browse files

Common API: MethodResultConvertor fix for JSON

  • Loading branch information...
1 parent 5a500e5 commit 76c6eb620b3cc93ff8fa4ea609da67aab95c80a3 @dipspb dipspb committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 76c6eb6

Please sign in to comment.