Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: ArrayList and HashTable aren't serialized #76

Open
Brian-Wuest opened this issue Nov 18, 2019 · 1 comment
Open

Bug: ArrayList and HashTable aren't serialized #76

Brian-Wuest opened this issue Nov 18, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Brian-Wuest
Copy link

Brian-Wuest commented Nov 18, 2019

Describe the bug

  • What are you trying to do? Serializing an object containing an ArrayList/Hashtable
  • What do you think should happen? They should be able to be serialized, sent over the wire and deserialized
  • What is actually happening? They are not deserialized. Doesn't look like they are serialized. Report doesn't say that it cannot do it.

How to reproduce the bug

  • Post your SerializerConfig Default configuration
  • Post all relevant classes.
public class SampleData
{
    public SampleData() 
    {
        this.SomeValues = new ArrayList();
        this.SomethingElse = new Hashtable();
    }

    public ArrayList SomeValues { get; set; }
    public Hashtable SomethingElse { get; set; }

    public PopulateValues()
    {
        this.SomeValues.Add(1);
        this.SomeValues.Add(false);
        this.SomeValues.Add("Foo");
        this.SomethingElse.Add(1, "Foo");
        this.SomethingElse.Add(2, "Bar");
    }
}

Platform

  • Which version of Ceras are you using? net4.5, net4.7+, or netstandard2.0? net4.7+
  • Are you using Unity? If so, what version? (2018.1, 2018.2, ...) No
  • If you are using Unity, are you using IL2CPP? N/A
@Brian-Wuest Brian-Wuest added the bug Something isn't working label Nov 18, 2019
@ricred
Copy link

ricred commented Dec 7, 2021

Any news on this bug ?
Same problem for HashSet on cera nuget 4.1.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants