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

Input vs output formats for groups #51

Open
ghost opened this issue Jul 3, 2018 · 1 comment
Open

Input vs output formats for groups #51

ghost opened this issue Jul 3, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 3, 2018

The object representation of groups appear to be different between the format requires for sending messages, and the format received on the other end. For example, a sent group will be

groups: [
      {
        index: 453,
        delim: 447,
        entries: [
          {
            447: 'D',
            448: 'demo-9',
            452: '3'
          },
          {
            447: 'D',
            448: 'demo-8',
            452: '1'
          }
        ]
      },
...
    ]

But on the received side, it will be

groups: { 
     '453':
      [ { tags: { '447': 'D', '448': 'demo-9', '452': '3' } },
        { tags: { '447': 'D', '448': 'demo-8', '452': '1' } } 
      ] 
}

Are these formats documented somewhere? Is there a library to convert one to the other if I want to compare a sent message to the corresponding received message on the other side?

Thanks!

@JVaghela-Fintech
Copy link

It is a bit confusing to send and receive messages...we are stuck in deadline time. it would be really helpful to us if you provide a sample for send and receiving messages.

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