0

I'm trying to post data in JSON Format using HTTP Post in Tizen wearable native, but there is no sample from their website. There is a code snippet for http request HTTP Post Request but not specifying how to include a JSON Object. Can anyone let me know?

Thanks in advance!

Ravi
  • 881
  • 1
  • 9
  • 23
  • json-glib library works fine for Tizen native wearable 2.3.2 .. Any updates for 3.0? It dosen't work on 3.0 – Ravi Mar 09 '18 at 16:32

1 Answers1

1

In Tizen API References, It's stated that:

Tizen Wearable 2.3.2 Supports: Json-Glib Version 0.10.4 (Ref)

Tizen Wearable 3.0 Supports: Json-Glib Version 1.2.0 (Ref)

Migrate to 1.2.0 first.

This detailed Guide seems relevant:

Native Application Dev Tip - Tutorial of JSON parser

Additional: If still issue exists After Migrating to Json-Glib Version 1.2.0, May try any other C Libraries for JSON.

http://www.json.org/

CJSON seems a good option also. Only copy the .c & .h files, You are good to go (As per the Guide stated).

Md. Armaan-Ul-Islam
  • 2,154
  • 2
  • 16
  • 20