If you are looking for software to use, go to Huajun Software Park! software release

Hello, if there is a need for software inclusion, please package the software and attach the software name, software introduction, software-related screenshots, software icon, soft copy, and business license (if you do not have a business license, please provide the front and back of the corresponding developer ID card) and a photo of yourself holding your ID card) and send it to your email http://softwaredownload4.com/sbdm/user/login

Hide>>

Send to email:news@onlinedown.net

Hide>>

Location: front pagePC softwareNetwork softwareJAVA program Alibaba Fastjson API
Alibaba Fastjson API

Alibaba Fastjson API v1.1.26 Chinese version

QR code
  • Software licensing: free software
  • Software size: 0.7MB
  • Software rating:
  • Software type: Domestic software
  • Update time: 2017-09-19
  • Application platform: winall
  • Software language: Simplified Chinese
  • Version: v1.1.26 Chinese version

Download the service agreement at the bottom of the page

Software introduction Related topics FAQ Download address

Basic introduction
Alibaba Fastjson API section first LOGO
Alibaba Fastjson full Chinese version API is a Chinese API that can help use the Fastjson function. Fastjson is a high-performance and complete JSON library written in Java language. Of course, a Chinese version API is also necessary.

Alibaba Fastjson API screenshot

Software features

  ·high performance·

fastjson uses an original algorithm to increase the speed of parse to the extreme, surpassing all json libraries, including jackson, which was once known as the fastest. And it also surpasses Google's binary protocol protocol buf.

  ·Support standards·

Fastjson fully supports the standard of http://json.org and is also one of the reference implementations included on the official website.

  ·Powerful function·

Various JDK types are supported. Including basic types, JavaBean, Collection, Map, Enum, generics, etc.

Supports circular references

  ·No dependence·

There is no need for extra jars and it can run directly on the JDK.

  ·Wide range of support·

Supports JDK 5, JDK 6, Android, Alibaba Cloud mobile phones and other environments.

  ·Open Source·

Apache License 2.0

The code is hosted on github.org

  ·Fully tested·

fastjson has more than 1,500 testcases, which will be run every time it is built. The rich test scenarios ensure functional stability.

How to use

You can open it after the download is complete

Alibaba Fastjson API screenshot

If it goes blank or cannot be opened,

Alibaba Fastjson API screenshot

Please right-click the program and click Properties

Alibaba Fastjson API screenshot

Click to unlock and confirm

Alibaba Fastjson API screenshot

Animation demonstration

Alibaba Fastjson API screenshot

Tips

  maven

If you use Maven, the maven repository configuration is as follows:

Alibaba Fastjson API screenshot

Add dependencies to the pom.xml file:

Alibaba Fastjson API screenshot

  serialization

The most basic functions involved in a JSON library are serialization and deserialization. Fastjson supports direct serialization of java beans. You can use the com.alibaba.fastjson.JSON class for serialization and deserialization.

  basic serialization

Serialization is to convert JavaBean objects into text in JSON format.

Alibaba Fastjson API screenshot

In this example, the JSON.toJSONString method is called to convert object o into JSON-formatted text.

  Use single quotes

Standard JSON uses double quotes. JavaScript supports json text in single quote format. Fastjson also supports this feature. Just turn on the SerializerFeature.UseSingleQuotes feature. For example:

Alibaba Fastjson API screenshot

There are more than a dozen SerializerFeatures that can be selected during fastjson serialization. You can choose and use them according to your own needs.

FAQ

closure