add json parser sample function and json config file