Structured data

jeanm

Member
I'm trying to update my very old and neglected recipes website. I've just started using the structured data testing tool but I have a problem with this part of the code: "recipeIngredient". There is apparently an error on the very bottom line of the code but I can't see what I've done wrong.

This is the applicable section of the code:

"recipeIngredient":[
"2 packets of two minute noodles",
"200 gm mushrooms, sliced",
"1 teaspoon oil, to cook mushrooms",
"1/2 cup diced cold cooked meat such as chicken or ham",
"4 spring onions, chopped finely",
"1/2 cup grated carrot",
"1/2 cup finely shredded cabbage",
"6 eggs, beaten",
"Salt and pepper, to taste",
"1 tablespoon oil to cook omelettes",
],

There is not much even on the bottom line but still I've got it wrong. The error says:

Syntax error: value, object or array expected.

Am I still missing something please?

All assistance gratefully taken on board. Thanks, Jean
 

chrishirst

Well-Known Member
Staff member
Error messages point to where the error occurred NOT to the point where the error IS. The actual problem code will be earlier in the data structure.
 

jeanm

Member
Thank you chrishirst. I'll go looking back further. My Dreamweaver crashed for no apparent reason yesterday so I now have to sort that out before I can progress much further with the website re-vamp.
 
Top