Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于fastjason #10

Closed
Netsah opened this issue May 29, 2017 · 1 comment
Closed

关于fastjason #10

Netsah opened this issue May 29, 2017 · 1 comment

Comments

@Netsah
Copy link

Netsah commented May 29, 2017

请问您使用的fastjson版本是多少?在运行这个程序时遇到了"Exception in thread "main" com.alibaba.fastjson.JSONException: unclosed string : z"的问题

@brianway
Copy link
Owner

com.alibaba:fastjson:jar:1.2.21

使用 mvn dependency:tree 打印依赖包就行了,部分输出如下:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] webporter-parent
[INFO] webporter-core
[INFO] webporter-data-elasticsearch
[INFO] webporter-collector-zhihu
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building webporter-parent 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ webporter-parent ---
[INFO] com.github.brianway:webporter-parent:pom:1.1-SNAPSHOT
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building webporter-core 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ webporter-core ---
[INFO] com.github.brianway:webporter-core:jar:1.1-SNAPSHOT
[INFO] +- junit:junit:jar:4.11:test
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- com.google.guava:guava:jar:15.0:compile
[INFO] \- us.codecraft:webmagic-core:jar:0.6.1:compile
[INFO]    +- org.apache.httpcomponents:httpclient:jar:4.5.2:compile
[INFO]    |  +- org.apache.httpcomponents:httpcore:jar:4.4.4:compile
[INFO]    |  +- commons-logging:commons-logging:jar:1.2:compile
[INFO]    |  \- commons-codec:commons-codec:jar:1.9:compile
[INFO]    +- org.apache.commons:commons-lang3:jar:3.1:compile
[INFO]    +- us.codecraft:xsoup:jar:0.3.1:compile
[INFO]    |  \- org.assertj:assertj-core:jar:1.5.0:compile
[INFO]    +- org.slf4j:slf4j-api:jar:1.7.21:compile
[INFO]    +- org.slf4j:slf4j-log4j12:jar:1.7.21:compile
[INFO]    |  \- log4j:log4j:jar:1.2.17:compile
[INFO]    +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO]    +- org.jsoup:jsoup:jar:1.8.3:compile
[INFO]    +- commons-io:commons-io:jar:1.3.2:compile
[INFO]    +- com.jayway.jsonpath:json-path:jar:0.8.1:compile
[INFO]    |  +- net.minidev:json-smart:jar:1.1.1:compile
[INFO]    |  \- commons-lang:commons-lang:jar:2.6:compile
[INFO]    \- com.alibaba:fastjson:jar:1.2.21:compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants