class ViewModel
def to_json(serialize_context: self.class.new_serialize_context)
def to_json(serialize_context: self.class.new_serialize_context) ViewModel.encode_json(self.to_hash(serialize_context: serialize_context)) end
def to_json(serialize_context: self.class.new_serialize_context) ViewModel.encode_json(self.to_hash(serialize_context: serialize_context)) end