java.lang.Object
io.helidon.integrations.vault.VaultUtil
Utility class for Vault API.
- 
Method SummaryModifier and TypeMethodDescriptionarrayToList(JsonArray array) Create a list of strings from JSON array.processListDataResponse(JsonObject response) Process response fromLISToperations.toMap(JsonObject object, String name) Return a map of a json object that is nested in the provided object.
- 
Method Details- 
arrayToListCreate a list of strings from JSON array.- Parameters:
- array- array to process
- Returns:
- each element from the array as a string
 
- 
processListDataResponseProcess response fromLISToperations. Finds thedataobject, and processes thekeysarray.- Parameters:
- response- JSON response from API- LISTcall
- Returns:
- keys as a list of strings
 
- 
toMapReturn a map of a json object that is nested in the provided object. If the name isnilor not present, returns an empty map.- Parameters:
- object- JSON object to process
- name- name of a nested JSON object to return as a map
- Returns:
- map representation of the nested object
 
 
-