Giter Site home page Giter Site logo

Comments (3)

deniszykov avatar deniszykov commented on July 23, 2024

I checked that it generates the current version of the serializer in your test case.

Java:

83D920737472696E674D616E6970756C6174696F6E466F7250726F6772616D6D6572730FD921737472696E674D616E6970756C6174696F6E466F7250726F6772616D6D65727332CCFFD921737472696E674D616E6970756C6174696F6E466F7250726F6772616D6D65727333CE00010001

Tokens:
BeginObject
	Member[stringManipulationForProgrammers] Number[<Byte>15]
	Member[stringManipulationForProgrammers2] Number[<Byte>255]
	Member[stringManipulationForProgrammers3] Number[<UInt32>65537]
EndOfObject

MsgPack.Serialize

83D920737472696E674D616E6970756C6174696F6E466F7250726F6772616D6D6572730FD921737472696E674D616E6970756C6174696F6E466F7250726F6772616D6D65727332D100FFD921737472696E674D616E6970756C6174696F6E466F7250726F6772616D6D65727333D200010001

Tokens:
BeginObject
	Member[stringManipulationForProgrammers] Number[<Int32>15]
	Member[stringManipulationForProgrammers2] Number[<Int32>255]
	Member[stringManipulationForProgrammers3] Number[<Int32>65537]
EndOfObject

I recognize that the choice of data types for numbers does not look the most adequate. But the format and structure is not broken. Are you sure you are using the latest version of the serializer?

from msgpack-unity3d.

sadradelir avatar sadradelir commented on July 23, 2024

Ok , I got that (!) and going to check versions of libraries that we use in java and unity, maybe I should change some lines of code in java or c# to use the appropriate data types.

Another question is what tool did you use to declare data types and message tokens like that ?

from msgpack-unity3d.

deniszykov avatar deniszykov commented on July 23, 2024

This is an extention to IJsonReader called DebugPrintTokens from this commit

from msgpack-unity3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.