Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 77

This tag should be used for questions related to json data types

2
votes
wound up using this... does the trick as a helper preprocessor that then calls core jsonEncode without needing php 5.3. foreach($o->getData() as $k=>$v ){ if (is_numeric($v)){ $o->setData($k, …
answered Mar 12 '15 by Mark Shust
0
votes
2answers
I'm trying to process a Magento object with JSON. Using json_encode($order->getData()) or Mage::helper('core')->jsonEncode($order->getData()), I get output such as the following: { "entity_id … , "forced_do_shipment_with_invoice": null, "base_shipping_hidden_tax_amount": null } Note how integers, decimals and currency are quoted. This isn't proper JSON-formatting as it processes as a string rather than …
asked Mar 12 '15 by Mark Shust