Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Funções do Data Transformer
Nesta página, descrevemos o conjunto adicional de funções Jsonnet predefinidas para a tarefa Script transformador de dados disponível na Application Integration.
Para usar as seguintes funções predefinidas, é necessário importar a biblioteca functions no script. Importar a biblioteca functions permite que você use as funções padrão do Jsonnet e as funções predefinidas do Data Transformer.
Application Integration oferece suporte à biblioteca de funções Jsonnet v0.20.0. Para mais informações sobre as funções padrão da Jsonnet, consulte a Biblioteca padrão Jsonnet.
Referência de uso do JSONnet
O jsonnet é uma linguagem puramente funcional e os programas dela são compostos de expressões. Para saber como formar essas expressões, consulte Expressões Jsonnet.
Funções
A tabela a seguir lista as funções predefinidas disponíveis na Application Integration:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-03 UTC."],[[["\u003cp\u003eThis page details predefined Jsonnet functions for the Data Transformer Script task in Application Integration.\u003c/p\u003e\n"],["\u003cp\u003eYou can use both standard Jsonnet functions and predefined Data Transformer functions by importing the \u003ccode\u003efunctions\u003c/code\u003e library in your script.\u003c/p\u003e\n"],["\u003cp\u003eThe Data Transformer offers a variety of function types, including array, aggregate, hash, JSON, mathematical, string, timestamp, utility, and XML functions.\u003c/p\u003e\n"],["\u003cp\u003eThe Data Transformer Script task is a Pre-GA feature, and it may have limited support, so be sure to review the Pre-GA Offerings Terms.\u003c/p\u003e\n"],["\u003cp\u003eApplication Integration supports Jsonnet functions library v0.20.0.\u003c/p\u003e\n"]]],[],null,["# Data Transformer functions\n\n| **Preview\n| --- Data Transformer Script task**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nData Transformer functions\n==========================\n\nThis page describes the additional set of predefined Jsonnet functions for [Data Transformer Script](/application-integration/docs/configure-data-transformer-script-task) task available in Application Integration.\n\n\nTo use the following predefined functions, you must import the `functions` library in your script. Importing the `functions` library lets you use both the standard Jsonnet functions and the predefined **Data Transformer** functions.\n\n\nApplication Integration supports Jsonnet functions library v0.20.0. For information about the Jsonnet standard functions, see [Jsonnet Standard Library](https://jsonnet.org/ref/stdlib.html).\n\nJsonnet usage reference\n-----------------------\n\nJsonnet is a purely functional language and its programs are composed of expressions. For information about how to form these expressions, see [Jsonnet Expressions](https://jsonnet.org/ref/language.html#expressions).\n\nFunctions\n---------\n\nThe following table lists the predefined functions available in Application Integration:\n\nRecommendation\n--------------\n\n- Lean how to add and configure a [Data Transformer Script task](/application-integration/docs/configure-data-transformer-script-task) ([Preview](/terms/service-terms#1))"]]