https://github.com/falsepattern/succ4j
A port of JimmyCushnie's SUCC (https://github.com/JimmyCushnie/SUCC) to Java
https://github.com/falsepattern/succ4j
config configuration-files java-library markup-language serialization serialization-format serialization-library
Last synced: 10 months ago
JSON representation
A port of JimmyCushnie's SUCC (https://github.com/JimmyCushnie/SUCC) to Java
- Host: GitHub
- URL: https://github.com/falsepattern/succ4j
- Owner: FalsePattern
- License: wtfpl
- Created: 2020-04-12T21:57:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-20T19:47:40.000Z (about 3 years ago)
- Last Synced: 2025-02-28T11:24:13.417Z (11 months ago)
- Topics: config, configuration-files, java-library, markup-language, serialization, serialization-format, serialization-library
- Language: Java
- Size: 155 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Succ4J
See https://github.com/JimmyCushnie/SUCC for the official documentation. See the tests for examples.
# How to add as a dependency
## Maven
Add the following repository into your project's pom.xml:
```xml
FalsePattern-maven-repo
https://falsepattern.ddns.net/maven2/
```
and then include Succ4J as a dependency:
```xml
com.github.falsepattern
succ4j
VERSION
```
Replace VERSION with the version you want to use
## Downloading as a standalone jar
Go to the [succ4j repository](https://falsepattern.ddns.net/maven2/com/github/falsepattern/succ4j/), choose your version, download succ4j-VERSION.jar and add it as a dependency to your project.
# Changelog:
1.2.0: Added annotation @GenericID, which can be used in generic classes to specify which generic type is used by a field based on an index (see ComplexChild.java in the tests for example)
1.1.3: Can now save fields of superclasses. Previously superclass data was lost due to the getDeclaredFields() not returning superclass fields.
1.1.2: Fix error when trying to save/load types containing arrays of references (example: List)
1.1.1: Fix security exception when trying to access protected or package-private fields
1.1.0+sources: Added source jar generation to maven packaging, removed releases, use packaged versions
1.1.0: Breaking refactors: Moved package from succ to com.github.falsepattern.succ4j
1.0.1: File auto-reload now works properly
1.0: Initial release