Unexpected string in JSON Error

Rustam Loope 1 Reputation point
2022-06-20T14:33:11.683+00:00

Hey,

I have some invalid json and I don't understand what is the issue of this json.

{  
  "id": 1,  
  "title": "iPhone 9",  
  "description": "An apple mobile which is nothing like apple",  
  "price": 549,  
  "discountPercentage": 12.96,  
  "rating": 4.69,  
  "stock": 94  
  "brand": "Apple",  
  "category": "smartphones",  
  "thumbnail": "https://pandajson.com/assets/panda.png",  
  "images": [  
    "https://pandajson.com/assets/i/products/1/1.jpg",  
    "https://pandajson.com/assets/i/products/1/2.jpg",  
    "https://pandajson.com/assets/i/products/1/3.jpg",  
    "https://pandajson.com/assets/i/products/1/4.jpg",  
    "https://pandajson.com/assets/panda.png"  
  ]  
}  

Can someone assist me to understand what is wrong in this JSON?

Thanks,

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,027 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tom van Stiphout 1,696 Reputation points MVP
    2022-06-20T14:52:54.36+00:00

    Look at the end of the Stock line.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.