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 in NetCore.Console.Client when sending object #53

Open
oshere1111 opened this issue Mar 14, 2024 · 0 comments
Open

bug in NetCore.Console.Client when sending object #53

oshere1111 opened this issue Mar 14, 2024 · 0 comments

Comments

@oshere1111
Copy link

when running NetCore.Console.Client and connecting to NetCore.Console.Server
there is a list of option of what to send to the server
when an object by pressing O it sends the object but the server doesnt recognize the object as person
but it recognize the object as :
"Received an object of type = Newtonsoft.Json.Linq.JObject"

and the code in
if (obj.GetType() == typeof(Person))
is always false since its not the type of person but as Newtonsoft.Json.Linq.JObject

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant