{"id":55646,"library":"fastjson2","title":"Fastjson2","description":"A high-performance JSON processor for Java that parses and generates JSON data efficiently.","status":"active","version":"2.0.61","language":"java","source_language":null,"source_url":"https://github.com/alibaba/fastjson2","tags":["json","parser","serialization","fastjson"],"install":[{"cmd":"<dependency>\n  <groupId>com.alibaba.fastjson2</groupId>\n  <artifactId>fastjson2</artifactId>\n  <version>2.0.61</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.alibaba.fastjson2:fastjson2:2.0.61'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"JSON","correct":"com.alibaba.fastjson2.JSON"}],"quickstart":{"code":"import com.alibaba.fastjson2.JSON;\n\npublic class Example {\n    public static void main(String[] args) {\n        String json = \"{\\\"name\\\":\\\"John\\\",\\\"age\\\":30}\";\n        Object obj = JSON.parse(json);\n        System.out.println(obj);\n        String output = JSON.toJSONString(obj);\n        System.out.println(output);\n    }\n}","lang":"java","description":"Parses a JSON string and then serializes it back to JSON."},"warnings":[{"fix":"Update to version 2.0.61 or later to mitigate known issues.","message":"Fastjson2 has known security vulnerabilities in older versions; always use the latest version.","severity":"breaking","affected_versions":"<2.0.61"}],"env_vars":null,"search_vec":"'data':15 'effici':16 'fastjson':20 'fastjson2':1 'generat':13 'high':4 'high-perform':3 'java':9 'json':6,14,17 'pars':11 'parser':18 'perform':5 'processor':7 'serial':19","created_at":"2026-06-15T10:00:15.379741+00:00","updated_at":"2026-06-15T10:00:15.379741+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/alibaba/fastjson2","github":"https://github.com/alibaba/fastjson2","docs":"https://appdoc.app/artifact/com.alibaba.fastjson2/fastjson2/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}