Package Details: json-simple 4.0.0-1

Git Clone URL: https://aur.archlinux.org/json-simple.git (read-only, click to copy)
Package Base: json-simple
Description: JSON.simple - Simple, fast, extensible JSON encoder/decoder for Java
Upstream URL: https://cliftonlabs.github.io/json-simple/
Licenses: Apache
Submitter: guoxh
Maintainer: guoxh
Last Packager: guoxh
Votes: 3
Popularity: 0.000000
First Submitted: 2013-09-15 10:33 (UTC)
Last Updated: 2021-11-30 03:52 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

morgenstern commented on 2021-12-08 05:02 (UTC)

Awesome, thanks for the update @guoxh

guoxh commented on 2021-11-30 03:43 (UTC) (edited on 2021-11-30 03:44 (UTC) by guoxh)

Thanks to morgenstern for the reminder. So I am going to update it to 4.0.0 with the project maintained by Clifton Labs.

Please note that the version 4.0.0 is not fully compatible with earlier versions, as is stated here:

If you've used a version before version 3.0.0 and do not wish to upgrade yet: use version 2.3.1 for the latest backwards compatible version to upgrade 1.x and 2.x code gradually to 3.x style code. Once you're ready to upgrade to 3.x all you need to do is replace import packages with com.github.cliftonlabs.json_simple and replace DeserializationException with JsonException and you'll be good to go.

If you're using 3.1.1 and wish to upgrade to 4.0.0 simply update any calls to JsonException#getPosition() to expect a long instead of an int. Also replace any calls to Jsoner#prettyPrint(String, int) with Jsoner#PrettyPrint(String) or Jsoner#prettyPrint(Reader, Writer, String, String) for more control on how it is pretty printed.

morgenstern commented on 2021-11-30 00:46 (UTC)

It looks like there is an updated version of json-simple being driven forward here.

Unless there is a compelling reason to keep this legacy version around, I would recommend updating this package to use that version instead.

guoxh commented on 2017-05-04 04:51 (UTC)

Thanks. It is updated now.

johngowers commented on 2017-05-03 13:10 (UTC)

This package isn't working any more: I think that the location of the source files has changed. json-simple-1.1.1.jar may now be found at: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/json-simple/json-simple-1.1.1.jar