Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Feat: Add method to convert objects to JsonPrimitive.
Add a new method `convertToJsonPrimitive` in `AlkaidFastConfigCenter` that converts given objects to `JsonPrimitive`. This method supports Boolean, Number, String, andCharacter types. If the object's type is not supported, it throws an IllegalArgumentException. This feature simplifies working with JSON primitives in plugin configurations. It ensures that the caller is decoupled from the GSON library.
- Loading branch information