Sorry ,my distake, it's due to Jsoup does not get the complete content with the defualt config, so i got the uncomplete string.
On Friday, November 16, 2018 at 2:14:57 PM UTC+8, [email protected] wrote: > > version : 2.8.11 (Using scala) > > > *Configuration:* > > public static final ObjectMapper MAPPER = new ObjectMapper() >> .registerModule(new Jdk8Module()) >> .registerModule(new JavaTimeModule()) >> // .registerModule(new GuavaModule()) >> .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, >> false) >> .configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false) >> >> .configure(JsonParser.Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER,true) >> .configure(JsonParser.Feature.ALLOW_SINGLE_QUOTES,true) >> .configure(JsonParser.Feature.ALLOW_UNQUOTED_CONTROL_CHARS,true) >> ; >> >> Error: > >> Exception in thread "main" >>> com.fasterxml.jackson.core.io.JsonEOFException: Unexpected end-of-input: >>> was expecting closing quote for a string value >> >> >> > This json is got from a url, in the network tab of chrome dev tools , it > shows OK > And this websit :http://jsonviewer.stack.hu/ also can handle it. > > And configuration did I miss? > -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
