is there a way to deserialise a JSON string of Bucket to the Bucket object in java #255
-
Here is the Json string A little bit of context of what I am trying to do
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No, it is impossible. Several constructors were explicitly declared with "private" visibility in order to hide it from end users, so instantiations of mostly Bucket4j objects from outside is not supported. However, soon will be added ability that was discussed there #250 How to keep state between app restarts?. |
Beta Was this translation helpful? Give feedback.
-
@nevingeorgesunny
|
Beta Was this translation helpful? Give feedback.
@nevingeorgesunny
In the scope of release 7.5.0 were added following features: