how do I parse a resource from input json file #5504
aggaa-netapp
started this conversation in
General
Replies: 2 comments 9 replies
-
I think it should be like this: Ingress ing = client.network().ingresses().load(YourClass.class.getResourceAsStream("/test-ing.json")).get(); |
Beta Was this translation helpful? Give feedback.
3 replies
-
And a follow up question. Does the mock server client support this load method as well? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I have the resource (say Ingress) specified in a Json file. How do I create Ingress object from it? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions