# Lambda json enhancements

**URL:** <https://community.n8n.io/t/lambda-json-enhancements/15706>\
**Category:** Feature Requests\
**Tags:** data-transformation, node\
**Created:** [July 13, 2022, 7:17pm UTC](https://community.n8n.io/t/lambda-json-enhancements/15706 "2022-07-13T19:17:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![barn4k](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/barn4k/32/8170_2.png) [@barn4k](https://community.n8n.io/u/barn4k)\
**Post date:** [July 13, 2022, 7:17pm UTC](https://community.n8n.io/t/lambda-json-enhancements/15706/1 "2022-07-13T19:17:18Z")

</div>

## The idea is:

Add some improvements to the lambda JSON input:

- prettify JSON button (and check the correct syntax of it)
- change node references to dot notation or use single quotes

## My use case:

I work mostly with lambda functions in n8n (we already have about 50 workflows) and the JSON input in this node is awful:

- no proper formatting (even tab is not working to indent the json keys). Plus sometimes space indents are not copied to the json
- node reference goes with double quotes and thus the json became broken and I can’t copy it to some online editor.

So my actions are something like these:

1. write the json structure
2. add node reference when needed
3. change it to dot notation/single quotes
4. copy structure to the online editor
5. prettify it there (and check for validation issues)
6. past it to the node again
