app/controllers/anoubis/output/basic.rb
##
# Convert options hash to array json output
# @param options [Hash<Hash>] options with hash representation
# @return [Hash<Array>] options with array representation
Convert options hash to array json output
Convert options hash to array json output
def options_to_json(options)
        result = {}
        options.each_key do |key|
          result[key] = self.hash_to_json(options[key])
        end
        result
      end
def options_to_json ( options ) result = { } options . each_key do | key | result [ key ] = self . hash_to_json ( options [ key ] ) end result end
Convert options hash to array json output
Convert options hash to array json output
options with array representation
options with array representation
Hash<Array>
options
options with hash representation
options with hash representation