Package com.axelor.ai.provider.sync
Class SyncJson
java.lang.Object
com.axelor.ai.provider.sync.SyncJson
JSON plumbing shared by the adapters, with failures phrased for an administrator rather than a
log.
The array key differs per vendor — data for the OpenAI-shaped APIs, models for
Ollama and Gemini — so callers name it.
-
Method Summary
-
Method Details
-
tree
-
array
public static com.fasterxml.jackson.databind.JsonNode array(com.fasterxml.jackson.databind.JsonNode root, String key) The named array, or a clear refusal naming the key we expected.
-