Skip to content

How to add additional fields to contract definitions #2472

Answered by jimmarino
pablobiedma asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

In general you probably should not do this but if you are trying to learn, I would look at tutorials on serialzing to JSON using Jackson:

https://github.com/FasterXML/jackson

(You can search for tutorials on how to use Jackson's serialization annotations - there are plenty of them). The correct annotations will solve your problem.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pablobiedma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants