test the bin in json.