Open cgray9 opened 5 days ago
What is the connection between JSON and @Emeddable
?
I'm not sure, maybe it being Embeddable has nothing to do with why it's not working. Regardless, the JsonFormat should work and I can't figure out what's going on. Any help would be appreciated.
Please create a sample project. It's not clear how is the bean being initialized etc.
Expected Behavior
For the following class I expect
openTime
andcloseTime
to serialize as"HH:mm"
.Actual Behaviour
However it serializes to something like
[9,0]
like the JsonFormat is completely ignored. I've tried the following with no luck@Introspected
shape = JsonFormat.Shape.STRING
Steps To Reproduce
I have the following installed in
build.gradle
Environment Information
macOS 12.6.7 jdk 17
Example Application
No response
Version
3.9.4