Skip to content

error: Unexpected token a in JSON at position 0 #1

@ShahidH

Description

@ShahidH

I am getting an error:

error: Unexpected token a in JSON at position 0

Example:

    /**
     * @api {get} /test Test
     * @apiName GetTest
     * @apiGroup Test
     * @apiExample {json=./schema/get.res.json} apiSuccessExample Response
     */

get.res.json file:

{
  "name": "Random Name",
  "success": false,
  "result": {
    "answer": 101,
    "Win": false
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions