# Handlebars

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Source code: <https://github.com/FrendsPlatform/Frends.JSON>

{% tabs %}
{% tab title="Parameter: Input" %}

| Name                                     | Description                                                                                                                                                                                                                                                                  |
| ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Json : `Object`                          | <p>JSON input needs to be of type string or JToken.</p><p><br>Default: <code>-</code><br>Example: <code>{ "title":"Mr.", "name":"Foo" }</code></p>                                                                                                                           |
| HandlebarTemplate : `String`             | <p>Template for handlebars.</p><p>> indicates a partial.</p><p>This needs to be in expression mode.</p><p>Using {{ }} in other modes breaks the task.</p><p><br>Default: <code>" {{title}} {{> strongName}} "</code><br>Example: <code>{{title}} {{> strongName}}</code></p> |
| HandlebarPartials : `HandlebarPartial[]` | <p>Partials for template.</p><p><br>Default: <code>-</code><br>Example: <code>\[ strongName, </code><strong><code>{{name}}</code></strong><code> ]</code></p>                                                                                                                |
| {% endtab %}                             |                                                                                                                                                                                                                                                                              |

{% tab title="Result: Result" %}

| Name                | Description                                                                                    |
| ------------------- | ---------------------------------------------------------------------------------------------- |
| Success : `Boolean` | <p>Operation complete without errors.<br>Example: <code>true</code></p>                        |
| Data : `String`     | <p>Result data.<br>Example:</p><p><code>Mr. </code><strong><code>Andersson</code></strong></p> |
| {% endtab %}        |                                                                                                |
| {% endtabs %}       |                                                                                                |
