• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums

Convert to JSON: does brain cloud provide object types for response returns?

Scheduled Pinned Locked Moved General
sdk
2 Posts 1 Posters 215 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    darren zou
    wrote on last edited by
    #1

    I am having an issue with converting a response into a accessible JSON, or parsing it into an object. Does brain cloud provide object types? I cannot find any on the docs regarding this. Most update methods also requires us to use "/" string format..

    I can make a type class of the JSON by using https://json2csharp.com/ and creating a method to add dashes to strings... Just wondering if the SDK have any of these built in.

    1 Reply Last reply
    0
  • D Offline
    D Offline
    darren zou
    wrote on last edited by
    #2

    Solved:

    IDK if this is the right approach but I am using brainCloud's LitJson and JSONMapper. I will map out the things I need and put it into an object of variables I chose to parse out.

    1 Reply Last reply
    0

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users