GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: Add note that process.send and child.send use JSON.stringify() by mithun-daa · Pull Request #5723 · nodejs/node

Conversation

@mithun-daa

@mithun-daa mithun-daa commented Mar 15, 2016

Copy link
Copy Markdown
Contributor

Pull Request check-list

Please make sure to review and check all of these items:

  • Does make -j8 test (UNIX) or vcbuild test nosign (Windows) pass with
    this change (including linting)?
  • Is the commit message formatted according to CONTRIBUTING.md?
  • If this change fixes a bug (or a performance problem), is a regression
    test (or a benchmark) included?
  • Is a documentation update included (if this change modifies
    existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Affected core subsystem(s)

Please provide affected core subsystem(s) (like buffer, cluster, crypto, etc)

docs

Description of change

Please provide a description of the change here.

Explicitly call out that the send method on both process and child uses JSON.stringify to serialize the message
Fixes #5453

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mithun-daa
docs: Add note that process.send and child.send use JSON.stringify()
62031d6
Explicitly call out that the send method on both process and child uses JSON.stringify to serialize the message
Fixes nodejs#5453
@Fishrock123 Fishrock123 added child_process Issues and PRs related to the child_process subsystem. doc Issues and PRs related to Node.js documentation. labels Mar 15, 2016
@jasnell

jasnell commented Mar 15, 2016

Copy link
Copy Markdown
Member

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell jasnell added the lts-watch-v4.x label Mar 15, 2016
@whitlockjc

whitlockjc commented Mar 15, 2016

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

1 similar comment
@cjihrig

cjihrig commented Mar 15, 2016

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jasnell pushed a commit that referenced this pull request Mar 15, 2016
@mithun-daa @jasnell
doc: Add note about use of JSON.stringify()
99a5d07
process.send and child.send use JSON.stringify to serialize
the message.

Fixes: #5453
PR-URL: #5723
Reviewed-By: Jeremy Whitlock <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@jasnell

jasnell commented Mar 15, 2016

Copy link
Copy Markdown
Member

Landed in 99a5d07

@mithun-daa ... thank you for the PR! I did update the commit message a bit to conform to our commit guidelines.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell jasnell closed this Mar 15, 2016
evanlucas pushed a commit that referenced this pull request Mar 15, 2016
@mithun-daa @evanlucas
doc: Add note about use of JSON.stringify()
3444a66
process.send and child.send use JSON.stringify to serialize
the message.

Fixes: #5453
PR-URL: #5723
Reviewed-By: Jeremy Whitlock <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@evanlucas evanlucas mentioned this pull request Mar 15, 2016
v5.9.0 proposal #5702
Merged
rvagg pushed a commit that referenced this pull request Mar 16, 2016
@mithun-daa @rvagg
doc: Add note about use of JSON.stringify()
434af03
process.send and child.send use JSON.stringify to serialize
the message.

Fixes: #5453
PR-URL: #5723
Reviewed-By: Jeremy Whitlock <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 17, 2016
@mithun-daa Myles Borins
doc: Add note about use of JSON.stringify()
ffc69e6
process.send and child.send use JSON.stringify to serialize
the message.

Fixes: #5453
PR-URL: #5723
Reviewed-By: Jeremy Whitlock <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins added land-on-v4.x and removed doc Issues and PRs related to Node.js documentation. labels Mar 17, 2016
@MylesBorins MylesBorins added doc Issues and PRs related to Node.js documentation. and removed lts-watch-v4.x labels Mar 21, 2016
MylesBorins pushed a commit that referenced this pull request Mar 21, 2016
@mithun-daa Myles Borins
doc: Add note about use of JSON.stringify()
fa3ed70
process.send and child.send use JSON.stringify to serialize
the message.

Fixes: #5453
PR-URL: #5723
Reviewed-By: Jeremy Whitlock <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 21, 2016
@mithun-daa Myles Borins
doc: Add note about use of JSON.stringify()
e572542
process.send and child.send use JSON.stringify to serialize
the message.

Fixes: #5453
PR-URL: #5723
Reviewed-By: Jeremy Whitlock <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@ChALkeR ChALkeR mentioned this pull request Apr 24, 2016
discuss: object serializer/deserializer + transferables #6300
Closed
@karencapiiro karencapiiro mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities karencapiiro/node#30
Open
@AshdonG AshdonG mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities AshdonG/node#46
Open
@BryanLaura BryanLaura mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities BryanLaura/node#66
Open
@Supermajestcd Supermajestcd mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities Supermajestcd/node#18
Open
This was referenced Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities MaxMood96/node#39
Open
[Snyk] Fix for 1 vulnerabilities Mement-Mori/node#34
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

child_process Issues and PRs related to the child_process subsystem. doc Issues and PRs related to Node.js documentation.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Child Process send incorrectly serializes values

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@mithun-daa @jasnell @whitlockjc @cjihrig @MylesBorins @Fishrock123
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.