I have a class object:
public class ChildDetails
{
    [JsonProperty("idConsecutivo")]
    public int SequentialId { get; set; }
    [JsonProperty("idSemilla")]
    public int ParentId { get; set; }
    [JsonProperty("idParentSemilla")]
    public int ChildId { get; set; }
    [JsonProperty("NombreArchivo")]
    public string FileName { get; set; }        
}
When execute this line:
var childItems = JsonConvert.DeserializeObject<List<ChildDetails>>(resultContent);
childItems object property names are: SequentialId, ParentId, ChildId and FileName
but when execute this line:
var otherChildItems = JsonConvert.SerializeObject(childItems);
otherChildItems object property names are: idConsecutivo, idSemilla, idParentSemilla, NombreArchivo
How to keep the property names SequentialId, ParentId, ChildId and FileName when object is serialized?
Thanks