Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Expose ConvertToJson as an API #8123

Copy link
Copy link
@TylerLeonhardt

Description

@TylerLeonhardt
Issue body actions

We have ConvertFromJson exposed as an API, but not ConvertToJson.

If we had both, folks that are writing apps that host PowerShell could access Convert*Json via the API rather than needing to use a runspace!

I think we could simply convert what's in ConvertTo-Json to C# and put it in this JsonObjectclass and then have ConvertTo-Json just call that API.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Committee-ReviewedPS-Committee has reviewed this and made a decisionPS-Committee has reviewed this and made a decisionIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.