add method to enumerate json keys

Signed-off-by: 097 <sphinxdwood@gmail.com>
add sample code

Signed-off-by: 097 <sphinxdwood@gmail.com>