glideapps/quicktype

[FEATURE]: Provide the ability to add prefix or Suffixes

manamelacedric opened this issue · 0 comments

Hi,
I would love the ability to add prefixed and/or suffixes to the generated classes.

Context (Input, Language)

This is applicable to all languages

Description

Example:
{
person: {id: 1,name:"bob}
}

Should output:
class WelcomeDto {
public PersonDto {get;set}
}

class PersonDto {
public long id {get;set;}
public String name {get;set}
}

Current Behaviour / Output

Currently he names of the resulting classes matches the json input

It would also be nice to have a toggle to switch from class to record.