TheElectronWill / night-config

Powerful java configuration library for toml, yaml, hocon, json and in-memory configurations. Serialization/deserialization framework.
GNU Lesser General Public License v3.0
233 stars 27 forks source link

More annotations #107

Open masmc05 opened 2 years ago

masmc05 commented 2 years ago

@Comment-to place a comment alternative for @Jacksonized from lombok @IgnoreValue from jackson @JsonCreator from jackson @JsonPropertyOrder from jackson @JsonAlias from jackson

masmc05 commented 2 years ago

also, would be cool @Comparator - define a comparator for arrays, collections (also a boolean to mark checking the key or value for maps), this comparator will be used to determine the order of elements in collections written to files

mani1232 commented 1 year ago

Im too need this annotations

TheElectronWill commented 4 months ago

The new serde package (NightConfig 3.7.0+) contains new annotations, such as @SerdeKey, @SerdeSkipSerializingIf and @SerdeAssert. On top of that, the new (de)serialization framework is much more extensible than the old conversion package. Let me know if that's enough for your use case :smiley: