API Docs for: 0.4.0.9e0c4433
Show:

JsonSerializer Class

Extends Ember.Object
Module: serializers
Parent Module: ember-cli-storagekit

Methods

deserialize

() public

isNamespaced

(
  • key
)
Boolean public

Provided by the mixins module.

Defined in addon/mixins/build-namespace.js:66

Determines whether or not a provided key is namespaced.

Parameters:

  • key String

    The key to check the namespace status of.

Returns:

isNamespacedKey

(
  • key
)
Boolean deprecated public

Provided by the mixins module.

Defined in addon/mixins/build-namespace.js:77

Deprecated: please use #isNamespaced instead.

Determines whether or not a provided key is namespaced.

Parameters:

  • key String

    The key to check the namespace status of.

Returns:

namespaceKey

(
  • key
)
public

Provided by the mixins module.

Defined in addon/mixins/build-namespace.js:43

Parameters:

  • key String

    A key to be namespaced.

serialize

() public

stripNamespace

(
  • key
)
String public

Provided by the mixins module.

Defined in addon/mixins/build-namespace.js:53

strips the namespace from a namespaced key

Parameters:

  • key String

    A namespaced key to be stripped

Returns:

String:

The key with its namespace removed

Properties

_namespace

String private

Provided by the mixins module.

Defined in addon/mixins/build-namespace.js:25

namespace

String

Provided by the mixins module.

Defined in addon/mixins/build-namespace.js:12

Namespace to prepend to each stored key, separated by a colon (:).

Ex.

 'my-namespace:my-key'

Default: ""