Change request #714

Implement test database as unique JSON object

Added by David Demelier about 1 year ago. Updated 4 months ago.

Status:ClosedStart date:10/04/2017
Priority:NormalDue date:
Assignee:David Demelier% Done:


Category:Server libraryEstimated time:3.00 h
Target version:-
MFD after: Bookmark:@
MFD revision: Submitted by:


Rewrite the storage of object in test_database using a unique JSON object.

Associated revisions

Revision 137:0f9a8ddee022
Added by David Demelier about 1 year ago

Server: rework storage of test_database, closes #714

Do not store any objects in maps, instead store a unique nlohmann::json object
in the test_database class, update that object from any model object.

Unify access to the objects with the following functions:

- test_database::ref, access the JSON object,
- test_database::dict, access the parent JSON object.


#1 Updated by David Demelier 12 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

#2 Updated by David Demelier 12 months ago

  • Status changed from Resolved to Closed

#3 Updated by David Demelier 4 months ago

  • Target version deleted (0.1)

Also available in: Atom PDF