jsonary-js / jsonary

Quickly assemble clients for JSON-based APIs (powered by JSON Schema)
http://jsonary.com/
MIT License
122 stars 14 forks source link

adaptive table and properties not in a schema #123

Open Ognian opened 11 years ago

Ognian commented 11 years ago

Hello, I have noticed 2 interesting things with adaptive tables:

  1. all known properties (properties defined in the schema) of an object are displayed in columns, but additional properties wich are in the data are not displayed. This differs from the way how data is displayed when it is not in a table. I think that there could be one additional column for properties not defined in the schema, where all additional properties are displayed...
  2. same problem is when I have an object in an object and there are additional properties not defined in the schema...

Any Ideas on this? How would you solve this?

geraintluff commented 11 years ago

This is a very good point. Your suggestion of an extra column seems good, and I'll try and write a fix for it soon.

Ognian commented 10 years ago

Have you been able to do something on this?

geraintluff commented 10 years ago

I'm very sorry, I haven't found the time to look at this yet. I'll try and have a go this weekend.

Ognian commented 10 years ago

Did you have time to look into this?