mardi 20 décembre 2016

Is there an importable function to convert a javascript object to a query string?

Is there a function I can import for converting a plain javascript hash/object into a query string?

So, here are the requirements:

  • Cannot be based on jQuery (I need fastboot support)
  • Must support nested objects & arrays.
  • Must be built into Ember framework (no plugins)

I'm not really wanting to have another plugin dependency, since I know this is done internally in Ember.




Aucun commentaire:

Enregistrer un commentaire