Hey there, hope you have a great day.
I have two questions:
- What is the difference between type json and string?
- Why required properties doesn’t affect on json type?
Something like this:
{
displayName: “Test”,
name: “test”,
type: “json”,
default: “”,
required: true,
}
Thank you.
Thanks dear @harshil1712, I know about the string and json types, I’m a programmer 
I meant what is the difference in node properties:

Both have this style. And it doesn’t validate value if the type is json.
When a field is required, it would be red if it was empty and also it prevents the node from executing. But I can’t see this behavior when I set {required: true} to a json property.
Currently, there is not difference It looks the same. However, in the future we might add a dedicated JSON editor for the type json
, so it’s easy to input JSON data. That is why it’s a different data type.
1 Like
Thank u very much @RicardoE105 . Got it.