Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.


I get some JSON values from the server but I don't know if there will be a particular field or not.

Like: { "name":"ProbaRegatta", "country":"Congo", "status":"invited" }

Sometimes there will be an extra field like: { "name":"ProbaRegatta", "country":"Congo", "status":"invited", "club":"somevalue" }

I would like to check if the field named "club" exists.

Kind Regards, Veselin

asked 30 Jul '19, 05:30

Veselin%20Ivanov's gravatar image

Veselin Ivanov
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 30 Jul '19, 05:30

question was seen: 1,232 times

last updated: 30 Jul '19, 05:30