Makes sense.


On 11 April 2014 12:43, Ben Hamill <notifications@github.com> wrote:

> In lib/skywriter/resource_property.rb:
>
> > @@ -21,7 +21,7 @@ def initialize(options = {})
> >      def as_json(*)
> >        @as_json ||= property_definitions.each_with_object({}) do |property_definition, hash|
> >          if (value = property_value(property_definition))
> > -          hash[property_definition.name] = value
> > +          hash[property_definition.name] = value.as_json
>
> I think no. We still want to be able to fetch the raw value as it was
> passed in, potentially, in order to operate on the rich object, rather than
> it's as_json representation.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/otherinbox/skywriter/pull/27/files#r11543202>
> .
>



-- 
Bob Potter