how to create dynamic ui using json template in android

A

AC Question

we will give json template as

[
{'field-name':'name', 'type':'text', 'required':true},
{'field-name':'age', 'type':'number', 'min':18, 'max':65},
{'field-name':'address', 'type':'multiline'}
]

then it should be converted to a screen in app