Repository navigation
Use LinkedHashMap for additional properties, so the original ordering in the JSON is preserved - #1397
Conversation
…in the JSON is preserved
|
@jdimeo @joelittlejohn : Hello, Is there any way to revert to the old |
|
@rohanKanojia what's the issue you're facing? |
|
@joelittlejohn : Sorry for the wording, it's not really an issue but a change. I'm wondering if any KubernetesClient user could complain about this. We use JsonSchema2Pojo to generate POJOs for Kubernetes objects in https://github.com/fabric8io/kubernetes-client After the bump to 1.2.1 in fabric8io/kubernetes-client#4895 , we have all the generated POJOs modified with |
|
I think this is a welcome change for any users. It's just an implementation class change, not an interface/contract change, and the only reason someone wouldn't want this is if their map was giant so the extra bookkeeping of the linked list incurred too much memory overhead, which for |
|
@jdimeo : Thanks for the clarification! I'll push for this change in fabric8 k8s client. |
@jdimeo is there any way to use java.util.HashSet or java.util.TreeSet in Json schema? because the user would want to use any collection type they want |
|
Not for |
Original GitHub issue: