<div style&equals;"width&colon; 401px" class&equals;"wp-caption aligncenter"><a href&equals;"https&colon;&sol;&sol;nodei&period;co&sol;npm&sol;node-json-db&sol;"><img class&equals;"" src&equals;"https&colon;&sol;&sol;nodei&period;co&sol;npm&sol;node-json-db&period;png&quest;downloads&equals;true&amp&semi;stars&equals;true" alt&equals;"JsonDbStats" width&equals;"391" height&equals;"69" &sol;><&sol;a><p class&equals;"wp-caption-text">JsonDb Stats<&sol;p><&sol;div>&NewLine;&lbrack;github-issue username&equals;&&num;8221&semi;belphemur&&num;8221&semi; repository&equals;&&num;8221&semi;node-json-db&&num;8221&semi; number&equals;&&num;8221&semi;11&&num;8243&semi;&rsqb;&NewLine;<p>I never thought of it&comma; but supporting an append semantic in the &&num;8220&semi;jsonLanguage&&num;8221&semi; I created is an excellent idea&period; After all this semantic &lpar;array&lbrack;&rsqb;&rpar; is already used in other languages like PHP&comma; why not implementing it here also&period;<&sol;p>&NewLine;<p>From the version 0&period;6&period;0 Node-Json-DB support this new semantic to append an element to an array&colon;<&sol;p>&NewLine;<pre class&equals;"brush&colon; jscript&semi; title&colon; &semi; notranslate" title&equals;""> &NewLine;&sol;&sol;You can also easily append new item to an existing array &NewLine;&sol;&sol;This set the next index with &lbrace;obj&colon; 'test'&rcub; &NewLine;db&period;push&lpar;&quot&semi;&sol;arraytest&sol;myarray&&num;x5B&semi;&rsqb;&quot&semi;&comma; &lbrace;obj&colon;'test'&rcub;&comma; true&rpar;&semi; &NewLine; &NewLine; &NewLine;&sol;&sol;The append feature can be used in conjuction with properties &NewLine;&sol;&sol;This will set the next index as an object &lbrace;myTest&colon; 'test'&rcub; &NewLine;db&period;push&lpar;&quot&semi;&sol;arraytest&sol;myarray&&num;x5B&semi;&rsqb;&sol;myTest&quot&semi;&comma; 'test'&comma; true&rpar;&semi; &NewLine;<&sol;pre>&NewLine;<p>I&&num;8217&semi;m thinking of adding more semantic support to the array like a possibility to get the last item with &&num;8220&semi;array&lbrack;-1&rsqb;&&num;8221&semi; etc &&num;8230&semi;<br &sol;>&NewLine;I also found documentation on <a href&equals;"http&colon;&sol;&sol;goessner&period;net&sol;articles&sol;JsonPath&sol;">JsonPath<&sol;a>&period; I&&num;8217&semi;m thinking of implementing some of it in a new method <em>path&period;<&sol;em> It would be only used for querying the data&comma; not for pushing it&period; Or maybe the support will be included directly into the existing method&period; I still have to think about it and if it wouldn&&num;8217&semi;t make this small library too big&period;<&sol;p>&NewLine;