I am using the services module in drupal a long with the JSON Server, and I am accessing it using jQuery this works great, but I have one small problem.
Drupal/JSON Server always seem to return objects with the # symbol, which I don't really know how to handle, this prevents me from doing
Example, I invoke some method using a jQuery post, and it returns data such as, a console.log would spit out this:
#message: "Already logged in as admin."
Now it works great it returns the data I need etc, but I want to be able todo:
object.message , but it wont let me because of the #
and I can't do object.#message
Forgive my ignorance if it's something "obvious" :D
Also I suppose a regex would just make my app slower if these are big json objects/strings so rather not, right?