Method: Frodo::Entity#to_json

Defined in:
lib/frodo/entity.rb

#to_jsonString

Converts Entity to its JSON representation.

Returns:

  • (String)


200
201
202
203
# File 'lib/frodo/entity.rb', line 200

def to_json
  # TODO: add @odata.context
  to_hash.to_json
end