<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.41</version>
</dependency>
com.alibaba.fastjson.JSON
not
com.alibaba.dubbo.common.json.JSONObject;
String to JSON:
JSONObject jsonResult = JSONObject.parseObject(contract.getParam());
Read More:
- Adding fastjson dependency to Maven project
- 【ipfs-api】npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
- Idea Maven project uses package to package and report error (package does not exist)
- package.json And package- clock.json The difference between
- About the steps to create Maven’s (WEB) dependency using in idea
- com.alibaba.fastjson .JSONException: For input string: “3000-01-01” or “9999-12-31”
- How to select the jar package version for Maven package when the jar package versions referenced by multiple modules are inconsistent
- Maven’s jar package conflict; Maven’s introduction
- Solution of maven pom.xml dependency invalidation in IntelliJ
- Idea error: (4, 28) Java: package com.alibaba.fastjson does not exist
- Application of IntelliJ idea in Maven project pom.xml Add dependency
- Maven compilation error: package does not exist jar package does not exist
- JSON data format net.sf.json .JSONException: A JSONObject text must begin with ‘{‘ at character 1 of Error:(f…
- MySQL installation failed: dpkg: error processing package MySQL server (- – configure): dependency problem
- What to do when idea Maven package appears could not find artifact xxxxx!
- [Solved] Please verify that the package.json has a valid “main” entry
- Node.js Medium package.json The difference between devdependences and dependencies
- Eclipse Maven package error
- Error in Maven clean or package
- [jQuery] jQuery operates on JSON strings or JSON objects