o(╥﹏╥)oSad

WeChat cannot downloadAlibaba Fastjson Jar package, but just click on the upper right corner and select open in browser or Safari!
Alibaba Fastjson Jar package

Alibaba Fastjson Jar package

  • Size: 2.9M
  • Language: Simplified Chinese
  • Category: JAVA program
  • System: Win All

Alibaba Fastjson Jar package is a Fastjson jar package that can help use the Fastjson function. Fastjson is a high-performance and complete JSON library written in Java language. Of course, the fastjson jar package is necessary.

Alibaba Fastjson Jar package

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.

Content preview

Alibaba Fastjson Jar package

Alibaba Fastjson Jar package

 

Tips

maven

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

Alibaba Fastjson Jar package

Add dependencies to the pom.xml file:

Alibaba Fastjson Jar package

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 Jar package

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 Jar package

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

Version: PC version | Update time: 2024-12-30

Similar recommendations

Latest updates

Alibaba Fastjson Jar package review

  • 1st floor Huajun netizen 2020-05-14 06:21:27
    The Alibaba Fastjson Jar package interface design is easy to use and has rich functions. I highly recommend it!
  • 2nd floor Huajun netizen 2021-06-23 00:58:35
    Alibaba Fastjson Jar package software is very easy to use, the download speed is very fast, and it is very convenient!
  • 3rd floor Huajun netizen 2021-05-29 00:41:37
    Alibaba Fastjson Jar package hopes to get better and better, come on!

Recommended products

everyonealso likeThese:

+

This application has not passed real-name authentication. You can download it through the mobile assistant.

CancelOK