Jump to content

abe.izar

Members
  • Posts

    2
  • Joined

  • Last visited

abe.izar's Achievements

Newbie

Newbie (2/6)

1

Reputation

  1. i am trying to save a page array as a .json string. i tried: $values = $pages->find("title=foo"); $jsonFile = wireEncodeJSON($values->getArray()); yet i simply get : [{},{},{}] i figured this didn't work becase the array has values which are objects, and they don't get converted properly. i can probablly go through every child and convert it to an array and bulid the json manually, yet i wonder if there is an easier way to do this. thanks
×
×
  • Create New...