I keep getting this error: "Error: Data must be an object. Found object.See https://github.com/typicode/json-server for example."
I thought it may have been my formatting so I used your sample db.json to see but still I get this error. if there's a fix and you could help that would be greatly appreciated.
Only json object can be "parsed" e.g.
{
"jsonarray":[{
}]
}
@beatakru Tks
Most helpful comment
Only json object can be "parsed" e.g.
{
"jsonarray":[{
}]
}