GenerateJson.

WithCamelCase(bool) Method

Summary

Specifies whether the generated JSON should use a camel case naming strategy for property names. The default behavior is not to generate camel case property names.
Assembly
Wyam.Json.dll
Namespace
Wyam.Json
Containing Type
GenerateJson

Syntax

public GenerateJson WithCamelCase(bool camelCase = true)

Parameters

Name Type Description
camelCase bool If set to true, camel case property names are generated.

Return Value

Type Description
GenerateJson The current module instance.
GitHub