Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(9025)

Issue 97580043: Nested dictionaries for parsing aggregate data. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by Rouslan Solomakhin
Modified:
9 years, 11 months ago
CC:
dbeaumont, davinci_google, keghani
Base URL:
https://libaddressinput.googlecode.com/svn/trunk
Visibility:
Public.

Description

Nested dictionaries for parsing aggregate data. R=roubert@google.com Committed: https://code.google.com/p/libaddressinput/source/detail?r=223

Patch Set 1 : #

Patch Set 2 : Do not copy json value. #

Patch Set 3 : Store rapidjson::Document as itself to avoid a memory leak on destruction. #

Patch Set 4 : Owning all json objects. #

Total comments: 22

Patch Set 5 : Addressed comments. #

Total comments: 10

Patch Set 6 : Fixed up the comments. #

Patch Set 7 : Move is object check into impl constructor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -20 lines) Patch
M cpp/src/util/json.h View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M cpp/src/util/json.cc View 1 2 3 4 5 6 2 chunks +120 lines, -20 lines 0 comments Download
M cpp/test/util/json_test.cc View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Rouslan Solomakhin
Lara: PTAL Patch Set 1. This patch enables parsing nested dictionaries, instead of flat dictionaries ...
9 years, 11 months ago (2014-05-19 16:51:57 UTC) #1
Rouslan Solomakhin
Fredrik: I think this version does not have a leak, as it does not have ...
9 years, 11 months ago (2014-05-19 19:24:18 UTC) #2
Rouslan Solomakhin
Fredrik: Patch Set 3 should not have a leak, I promise :-)
9 years, 11 months ago (2014-05-19 19:49:10 UTC) #3
Rouslan Solomakhin
Fredrik: PTAL Patch Set 4. All sub-documents are owned by the parent document.
9 years, 11 months ago (2014-05-19 20:35:42 UTC) #4
roubert (google)
https://codereview.appspot.com/97580043/diff/60002/cpp/src/util/json.cc File cpp/src/util/json.cc (right): https://codereview.appspot.com/97580043/diff/60002/cpp/src/util/json.cc#newcode34 cpp/src/util/json.cc:34: using rapidjson::kParseValidateEncodingFlag; The rest of this code base sorts ...
9 years, 11 months ago (2014-05-19 21:22:31 UTC) #5
Rouslan Solomakhin
Fredrik: PTAL Patch Set 5. https://codereview.appspot.com/97580043/diff/60002/cpp/src/util/json.cc File cpp/src/util/json.cc (right): https://codereview.appspot.com/97580043/diff/60002/cpp/src/util/json.cc#newcode34 cpp/src/util/json.cc:34: using rapidjson::kParseValidateEncodingFlag; On 2014/05/19 ...
9 years, 11 months ago (2014-05-20 10:05:16 UTC) #6
roubert (google)
LGTM https://codereview.appspot.com/97580043/diff/130001/cpp/src/util/json.cc File cpp/src/util/json.cc (right): https://codereview.appspot.com/97580043/diff/130001/cpp/src/util/json.cc#newcode83 cpp/src/util/json.cc:83: // Avoid unusued variable warning when assert() is ...
9 years, 11 months ago (2014-05-20 11:41:03 UTC) #7
Rouslan Solomakhin
Will commit. https://codereview.appspot.com/97580043/diff/130001/cpp/src/util/json.cc File cpp/src/util/json.cc (right): https://codereview.appspot.com/97580043/diff/130001/cpp/src/util/json.cc#newcode83 cpp/src/util/json.cc:83: // Avoid unusued variable warning when assert() ...
9 years, 11 months ago (2014-05-20 11:49:24 UTC) #8
Rouslan Solomakhin
9 years, 11 months ago (2014-05-20 11:55:36 UTC) #9
Message was sent while issue was closed.
Committed patchset #7 manually as r223 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b