+ 1

hi i need small help in node Js. i have json structure and i am trying to retrieve the values form it.

my json structure looks like this.. in this structure i want to fetch the "myvalues{low} value" { data_model: 0, ns_rwset: [ { namespace: 'lscc', rwset: { reads: [ { key: 'myvalues', version: { block_num: Long { low: 1, high: 0, unsigned: true }, tx_num: Long { low: 0, high: 0, unsigned: true } } } ], range_queries_info: [], writes: [] } }, { namespace: 'trai', rwset: { reads: [ { key: '123456789', version: { block_num: Long { low: 7, high: 0, unsigned: true }, tx_num: Long { low: 0, high: 0, unsigned: true } } } ], range_queries_info: [], writes: [ { key: '123456789', is_delete: false, value: '{"MobileNo":"123456789","Name":"myname","EmailID":"myid@gmail.com","Address":"mycity","ServiceProvider":"mymobile","PreferenceCategory":"0","Day":"","Time":"","Date":"2018-01-10"}' } ] } } ] }

15th Jan 2018, 7:40 AM
Bhavani Sankar
Bhavani Sankar - avatar
1 Answer
+ 1
yikes.... um.... I honestly don't know. something like alert(something); I guess
19th Jan 2018, 5:14 AM
James Schleppegrell
James Schleppegrell - avatar