Questions tagged [objectmapper]

ObjectMapper is a library for simple JSON object mapping in Swift.

ObjectMapper is a library for simple JSON object mapping in Swift.

1145 questions
-3
votes
1 answer

Convert json String to java object

I have the following jsonString,I need to convert it to java object, I have used the following code to convert it but i get this exception com.fasterxml.jackson.databind.JsonMappingException: No suitable constructor found for type [simple type,…
Ali-Alrabi
  • 1,515
  • 6
  • 27
  • 60
-4
votes
1 answer

Typecast to String from Any got crash

I have a code to sort array of object MyDate, which since is Any, and the value is set from ObjectMapper, the value of since get from json like this: ... "since": "1536642141", ... Those code run well in Xcode 9.4.1 but got crash in Xcode 10.…
cat
  • 357
  • 1
  • 5
  • 14
-4
votes
2 answers

Moya-ObjectMapper pod error in swift

I am using the macOsSierra 10.12.6, Xcode9, swift 3 After reinstalling the macOS I cloned my project i built and run the project getting the Error as shown below.Value of type 'Observable' has no member 'mapObjectValue of type 'Observable' has no…
Naresh
  • 13
  • 5
-5
votes
1 answer

Object mapping with class property

This is the class public class Student { public string Name { get; set; } public int Id { get; set; } public Faculty FacultyName { get; set; } public void hw() { System.Console.WriteLine("hw…
1 2 3
76
77