You can create an alias like this ``` public function getAliasedProperties() { return [ 'dbkey' => 'jsonkey', } ``` the json attributed will show `jsonkey`. perfect. Only when you have a relationship the included key will still show `dbkey`
You can create an alias like this
the json attributed will show
jsonkey. perfect.Only when you have a relationship the included key will still show
dbkey