latis-data / latis3

Apache License 2.0
8 stars 1 forks source link

JSON encoding of empty catalogs from DAP2 service interface #659

Open lindholc opened 8 months ago

lindholc commented 8 months ago

I was testing some changes and was surprised to see that this is the JSON representation of an empty catalog:

{}

I would have expected something like:

{ "dataset": [] }

Or:

{ "catalog": [], "dataset": [] }

And perhaps with plural property names.