if contents then return json.decode( contents ) end....what?

What is this code error need?

[code]
if contents then
return json.decode( contents )
end

[/code] [import]uid: 88495 topic_id: 34823 reply_id: 334823[/import]