GraphHopper.com | Forum | GitHub | Maps | Blog

Truncate json problem


#1

Hi, i have a problem when send request:

An error occured (see tab Output JSON for more details): com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.HashMap out of START_ARRAY token at [Source: (String)"[{“name”:“8848100”,“lat”:“4.62251203”,“lng”:"-74.13083352",“restrictions”:{“ready”:540}},{“name”:“8848029”,“lat”:“4.60789805”,“lng”:"-74.12625481",“servicetime”:“15”,“restrictions”:{“ready”:540,“due”:1439}},{“name”:“8848030”,“lat”:“4.578445”,“lng”:"-74.10378198",“servicetime”:“15”,“restrictions”:{“ready”:540,“due”:1439}},{“name”:“8848039”,“lat”:“4.63966747”,“lng”:"-74.06768943",“servicetime”:“15”,“restrictions”:{“ready”:540,“due”:1439}},{“name”:“8848044”,“lat”:“4.578445”,“lng”:"-74.10378198"[truncated 1367 chars]; line: 1, column: 1]

Yours
Luis


#2

Can you send me the returned job_id or the sent json via private message or Email?

The JSON format does not look like a format we support. Did you use the spec described here?