json decoder example.